index 5c84d758bb6173f1bae25d0e2a75ef13febe74b9..999d9840683f6126914852f15f2703c353b62f5d 100644 (file)
REVOKE ALL ON pg_replication_origin_status FROM public;
--- All columns of pg_subscription except subconninfo are readable.
+-- All columns of pg_subscription except subconninfo are publicly readable.
REVOKE ALL ON pg_subscription FROM public;
-GRANT SELECT (subdbid, subname, subowner, subenabled, subbinary, substream, subslotname, subpublications)
+GRANT SELECT (oid, subdbid, subname, subowner, subenabled, subbinary,
+ substream, subslotname, subsynccommit, subpublications)
ON pg_subscription TO public;
index a5d6efdf205b976580383d1c215a0b36e40ba51f..0060ebfb4099f3d7324e27b2f59a44157128de13 100644 (file)
* them to be able to start the workers, so we have to put them in a shared,
* nailed catalog.
*
- * NOTE: When adding a column, also update system_views.sql.
+ * CAUTION: There is a GRANT in system_views.sql to grant public select
+ * access on all columns except subconninfo. When you add a new column
+ * here, be sure to update that (or, if the new column is not to be publicly
+ * readable, update associated comments and catalogs.sgml instead).
*/
CATALOG(pg_subscription,6100,SubscriptionRelationId) BKI_SHARED_RELATION BKI_ROWTYPE_OID(6101,SubscriptionRelation_Rowtype_Id) BKI_SCHEMA_MACRO
{