Re: pg_dump handling of ALTER DEFAULT PRIVILEGES IN SCHEMA - Mailing list pgsql-hackers

From Bossart, Nathan
Subject Re: pg_dump handling of ALTER DEFAULT PRIVILEGES IN SCHEMA
Date
Msg-id CB238615-646A-4CCD-B027-14E7CB2EAF50@amazon.com
Whole thread Raw
In response to Re: pg_dump handling of ALTER DEFAULT PRIVILEGES IN SCHEMA  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 9/5/21, 12:58 PM, "Bossart, Nathan" <bossartn@amazon.com> wrote:
> On 9/5/21, 12:14 PM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>> I'd be inclined to split this logic out into a separate if-statement,
>> along the lines of
>
> Got it, thanks.

Attached is an attempt at cleaning the patch up and adding an
informative comment and a test case.

Nathan


Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Added missing invalidations for all tables publication
Next
From: Michael Paquier
Date:
Subject: Re: stat() vs ERROR_DELETE_PENDING, round N + 1