From c0329c344d4be52f0c931fd13ac3e1a02c13cd7a Mon Sep 17 00:00:00 2001 From: Nisha Moond Date: Mon, 1 Jun 2026 18:43:42 +0530 Subject: [PATCH v1] Fix pg_subscription column privileges for subwalrcvtimeout The subwalrcvtimeout column was added by commit fb80f38, but the column-level privileges on pg_subscription were not updated. As a result, non-superusers cannot read the column, unlike the other publicly readable pg_subscription columns. This patch grant SELECT privilege on subwalrcvtimeout to PUBLIC. --- src/backend/catalog/system_views.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/catalog/system_views.sql b/src/backend/catalog/system_views.sql index 73a1c1c4670..8f129baec90 100644 --- a/src/backend/catalog/system_views.sql +++ b/src/backend/catalog/system_views.sql @@ -1527,7 +1527,8 @@ GRANT SELECT (oid, subdbid, subskiplsn, subname, subowner, subenabled, subbinary, substream, subtwophasestate, subdisableonerr, subpasswordrequired, subrunasowner, subfailover, subretaindeadtuples, submaxretention, subretentionactive, - subserver, subslotname, subsynccommit, subpublications, suborigin) + subserver, subslotname, subsynccommit, subwalrcvtimeout, + subpublications, suborigin) ON pg_subscription TO public; CREATE VIEW pg_stat_subscription_stats AS -- 2.50.1 (Apple Git-155)