Re: Inconsistent behavior of pg_dump/pg_restore on DEFAULT PRIVILEGES
Nathan Bossart <bossartn@amazon.com>
From: "Bossart, Nathan" <bossartn@amazon.com>
To: Masahiko Sawada <sawada.mshk@gmail.com>, Michael Paquier <michael@paquier.xyz>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Neil Chen <carpenter.nail.cz@gmail.com>, "Boris P. Korzun" <drtr0jan@yandex.ru>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2021-10-18T23:46:56Z
Lists: pgsql-bugs, pgsql-hackers
On 10/14/21, 5:06 PM, "Masahiko Sawada" <sawada.mshk@gmail.com> wrote: > The current pg_dump produced a REVOKE ALL ON TABLES FROM > regress_dump_test_role but it seems unnecessary. The patch removes it > so looks good to me too. +1 If we are going to proceed with the patch in this thread, I think we should also mention in the comment that we are depending on acldefault() being STRICT. This patch is quite a bit smaller than what I had proposed, but AFAICT it produces the same result. Nathan
Commits
-
pg_dump: fix mis-dumping of non-global default privileges.
- b1df061f704b 9.6.24 landed
- 871dfe4b7270 11.14 landed
- 52b927a731e5 12.9 landed
- 476006023538 13.5 landed
- 10f9faf6d873 10.19 landed
- 3ad2c2455be0 14.1 landed
- 2acc84c6fd29 15.0 landed