Re: pg_dump not dumping the run_as_owner setting from version 16?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_dump not dumping the run_as_owner setting from version 16?
Date: 2023-10-29 16:57:38
Message-ID: 2223504.1698598658@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
> Please find attached a patch for pg_dump to honour the setting of `run_as_owner`; I believe that effective pre-16 behavious was to run as owner, so I have set the flag to ‘t’ for pre-16 versions. Please let me know if you would prefer the opposite.

I think that's the correct choice. Fix pushed, thanks.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dean Rasheed 2023-10-29 17:17:34 Re: Supporting MERGE on updatable views
Previous Message Alena Rybakina 2023-10-29 16:41:06 Re: POC, WIP: OR-clause support for indexes