Re: BUG #15788: 'pg_dump --create' orders database GRANTs incorrectly

Nathan Bossart <bossartn@amazon.com>

From: "Bossart, Nathan" <bossartn@amazon.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Haribabu Kommi <kommi.haribabu@gmail.com>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2019-05-06T16:08:47Z
Lists: pgsql-bugs
On 5/4/19, 5:33 AM, "Michael Paquier" <michael@paquier.xyz> wrote:
> On Fri, May 03, 2019 at 05:22:47PM +0000, Bossart, Nathan wrote:
>> Thanks for taking a look.  I've attached all the versions of the patch
>> needed to back-patch this down to 9.6, where this query was
>> introduced.
>
> This requires a careful lookup, and it may be too late for the next
> round of minor releases.  Could you add it to the next commit fest [1]
> so as we don't forget about it?

Added here: https://commitfest.postgresql.org/23/2111/

Nathan

Commits

  1. Fix ordering of GRANT commands in pg_dumpall for database creation

  2. Fix ordering of GRANT commands in pg_dump for database creation