Re: pgsql-server: Fix incorrect tracking of session - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql-server: Fix incorrect tracking of session
Date
Msg-id 2724.1090290066@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql-server: Fix incorrect tracking of session  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-committers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
>> Fix incorrect tracking of session authorization in the presence of ACLs
>> that contain rights granted by non-owners.  Per bug report from
>> Nishad Prakash.

> Is that the pg_dump half of the 'alter owner breaks non-default
> privileges' bug fix?

No, it's quite unrelated AFAICS --- the becomeUser() code was assuming
that no other part of pg_dump would emit SET SESSION AUTH commands,
when in fact the permissions-dumping code recently started doing so.

It does however occur to me that you'd better check if your recent
changes broke dumping of permissions granted by GRANT OPTION recipients.

            regards, tom lane

pgsql-committers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: pgsql-server: Fix incorrect tracking of session
Next
From: meskes@svr1.postgresql.org (Michael Meskes)
Date:
Subject: pgsql-server: Synced parser and keyword list.