Have pg_dumpall write CREATE USER and CREATE GROUP commands instead of raw

Peter Eisentraut <peter_e@gmx.net>

Commit: 51afb9305c3a45891bd49637827a99631be8b488
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2000-07-03T16:35:39Z
Releases: 7.1.1
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

PathChange+/−
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