Have pg_dumpall write CREATE USER and CREATE GROUP commands instead of raw
Peter Eisentraut <peter_e@gmx.net>
Have pg_dumpall write CREATE USER and CREATE GROUP commands instead of raw COPYs of pg_shadow and pg_group. It also turns out that pg_dumpall was all but broken for multiple servers running at non-standard port numbers. You might get the users and groups from one server and the databases from another. Fixed that. A little user interface and code cleanup along with that. This also takes care of the portability bug discussed in "[BUGS] pg_dumpall" in March 2000.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/Makefile | modified | +10 −4 |
| src/bin/pg_dump/pg_dumpall | deleted | +0 −95 |
| src/bin/pg_dump/pg_dumpall.sh | added | +211 −0 |