Re: SUBSCRIPTIONS and pg_upgrade
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-hackers@postgresql.org
Date: 2017-02-17T22:19:12Z
Lists: pgsql-hackers
On 2/17/17 09:33, Stephen Frost wrote: >> One reason is that pg_subscription is only readable by a superuser, so >> we can't even dump them unless we're superuser. > Sure, but that's true of roles and other things.. On a system with RLS, > likely only the database superuser can actually read everything. There are some concurrent discussions about getting a list of subscriptions without having superuser. Once that is resolved, we'll likely have more options here, such as dumping only subscriptions you are owner of or something like that. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
pg_dump: Always dump subscriptions NOCONNECT
- a9254e675bde 10.0 landed
-
pg_dump: Dump subscriptions by default
- c31671f9b5f6 10.0 landed