Tweak pg_dumpall to add GRANT CONNECT ON DATABASE ... TO PUBLIC when dumping
Tom Lane <tgl@sss.pgh.pa.us>
Tweak pg_dumpall to add GRANT CONNECT ON DATABASE ... TO PUBLIC when dumping database privileges from a pre-8.2 server. This ensures that the reloaded database will maintain the same behavior it had in the previous installation, ie, everybody has connect privilege. Per gripe from L Bayuk.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/dumputils.c | modified | +15 −1 |