pgsql: Fix ordering of GRANT commands in pg_dumpall for tablespaces

2019-05-22 Thread Michael Paquier
Fix ordering of GRANT commands in pg_dumpall for tablespaces This uses a method similar to 68a7c24f and now b8c6014 (applied for database creation), which guarantees that GRANT commands using the WITH GRANT OPTION are dumped in a way so as cascading dependencies are respected. Note that tablespac

pgsql: Fix ordering of GRANT commands in pg_dumpall for tablespaces

2019-05-22 Thread Michael Paquier
Fix ordering of GRANT commands in pg_dumpall for tablespaces This uses a method similar to 68a7c24f and now b8c6014 (applied for database creation), which guarantees that GRANT commands using the WITH GRANT OPTION are dumped in a way so as cascading dependencies are respected. Note that tablespac

pgsql: Fix ordering of GRANT commands in pg_dumpall for tablespaces

2019-05-22 Thread Michael Paquier
Fix ordering of GRANT commands in pg_dumpall for tablespaces This uses a method similar to 68a7c24f and now b8c6014 (applied for database creation), which guarantees that GRANT commands using the WITH GRANT OPTION are dumped in a way so as cascading dependencies are respected. Note that tablespac

pgsql: Fix ordering of GRANT commands in pg_dumpall for tablespaces

2019-05-22 Thread Michael Paquier
Fix ordering of GRANT commands in pg_dumpall for tablespaces This uses a method similar to 68a7c24f and now b8c6014 (applied for database creation), which guarantees that GRANT commands using the WITH GRANT OPTION are dumped in a way so as cascading dependencies are respected. Note that tablespac