Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb45f3a6

Browse files
committed
Forgot that dumpall's output script should 'delete from pg_group' before
loading new data, for consistency with its handling of pg_shadow.
1 parent5e4d8be commitb45f3a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/pg_dump/pg_dumpall

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# It also dumps the pg_shadow and pg_group tables, which belong to the
66
# whole installation rather than any one individual database.
77
#
8-
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/pg_dumpall,v 1.25 2000/05/0503:04:00 tgl Exp $
8+
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/pg_dumpall,v 1.26 2000/05/0517:50:38 tgl Exp $
99
#
1010
# to adapt to System V vs. BSD 'echo'
1111
ifecho'\\'| grep'\\\\'>/dev/null2>&1
@@ -56,6 +56,7 @@ echo "${BS}."
5656
# XXX this breaks badly if the layout of pg_group ever changes.
5757
# It'd be better to convert the data into CREATE GROUP commands.
5858
#
59+
echo"delete from pg_group;"
5960
echo"copy pg_group from stdin;"
6061
psql -q template1 <<END
6162
copy pg_group to stdout;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp