Re: pg_dump not dumping the run_as_owner setting from version 16? - Mailing list pgsql-hackers

From Laurenz Albe
Subject Re: pg_dump not dumping the run_as_owner setting from version 16?
Date
Msg-id 051e7f1442f289cf3cd16e5681072b340007ec0f.camel@cybertec.at
Whole thread Raw
In response to RE: pg_dump not dumping the run_as_owner setting from version 16?  (Philip Warner <pjw@rhyme.com.au>)
Responses RE: pg_dump not dumping the run_as_owner setting from version 16?
RE: pg_dump not dumping the run_as_owner setting from version 16?
List pgsql-hackers
On Fri, 2023-10-27 at 18:05 +1100, Philip Warner wrote:
> I as far as I can tell, pg_dump does not dup the ‘run_as_owner` setting for a subscription.
>
> Should it? Should I submit a patch? It seems pretty trivial to fix if anyone else is working on it.

Yes, it certainly should.  That is an omission in 482675987b.
Go ahead and write a fix!


> Further to this: it seems that `Alter Subscription X Set(Run_As_Owner=True);`
> has no influence on the `subrunasowner` column of pg_subscriptions.

This seems to have been fixed in f062cddafe.

Yours,
Laurenz Albe



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Reconcile stats in find_tabstat_entry() and get rid of PgStat_BackendFunctionEntry
Next
From: Alvaro Herrera
Date:
Subject: Re: A recent message added to pg_upgade