From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Fix handling of ALTER DEFAULT PRIVILEGES |
Date: | 2017-01-31 01:48:32 |
Message-ID: | 20170131014832.GS9812@tamriel.snowman.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Greetings,
While working through some pg_dump regression tests, I came across a bug
in 9.6+ due to the changes I made to how GRANT/REVOKEs were handled.
The attached describes and fixes the bug, which only impacts dumping
from 9.6+ clusters, so hopefully not too many people have been impacted
by it (it's also a bit of an odd case anyway, as noted).
I'm still reviewing and playing with it, but anticipate pushing it
sometime tomorrow, along with a bunch of additional pg_dump regression
tests, built on the prior framework (as an independent patch, and just
for PG10, whereas the attached will be back-patched to 9.6).
Thoughts and comments welcome, of course, but it's a relatively
mechanical set of changes to match how other the ACLs for everything
else are handled (I checked all other callers of buildACLCommands()).
Thanks!
Stephen
Attachment | Content-Type | Size |
---|---|---|
pg_alter_default_privs_pg_dump_v2_master.patch | text/x-diff | 8.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Claudio Freire | 2017-01-31 02:05:28 | Re: Vacuum: allow usage of more than 1GB of work mem |
Previous Message | Michael Paquier | 2017-01-31 01:34:57 | Re: Allow interrupts on waiting standby |