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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: "Bossart, Nathan" <bossartn@amazon.com>
Cc: Haribabu Kommi <kommi.haribabu@gmail.com>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2019-05-04T12:32:21Z
Lists: pgsql-bugs
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?

[1]: https://commitfest.postgresql.org/23/
--
Michael

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