pgsql: Fix ordering of GRANT commands in pg_dumpall for database creati

2019-05-21 Thread Michael Paquier
Fix ordering of GRANT commands in pg_dumpall for database creation This uses a method similar to 68a7c24f, which guarantees that GRANT commands using the WITH GRANT OPTION are dumped in a way so as cascading dependencies are respected. As databases do not have support for initial privileges via p

pgsql: Fix ordering of GRANT commands in pg_dumpall for database creati

2019-05-21 Thread Michael Paquier
Fix ordering of GRANT commands in pg_dumpall for database creation This uses a method similar to 68a7c24f, which guarantees that GRANT commands using the WITH GRANT OPTION are dumped in a way so as cascading dependencies are respected. As databases do not have support for initial privileges via p