]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Have pg_dumpall write CREATE USER and CREATE GROUP commands instead of raw
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 3 Jul 2000 16:35:39 +0000 (16:35 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 3 Jul 2000 16:35:39 +0000 (16:35 +0000)
commit51afb9305c3a45891bd49637827a99631be8b488
tree4f49ea07d9e367b0cacc1192670fe117959fdc33
parentd66a8c7c4786c57d6bcff987e00aeb71238ea9a4
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.
src/bin/pg_dump/Makefile
src/bin/pg_dump/pg_dumpall [deleted file]
src/bin/pg_dump/pg_dumpall.sh [new file with mode: 0644]