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

Commitbb953ad

Browse files
committed
Fix pg_dumpall on pre-8.1 servers
rolname did not exist in pg_shadow.Backpatch to 9.3Report by Andrew Gierth via IRC
1 parent158b7fa commitbb953ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_dump/pg_dumpall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ dumpRoles(PGconn *conn)
699699
"valuntil as rolvaliduntil, "
700700
"false as rolreplication, "
701701
"null as rolcomment, "
702-
"rolname = current_user AS is_current_user "
702+
"usename = current_user AS is_current_user "
703703
"FROM pg_shadow "
704704
"UNION ALL "
705705
"SELECT 0, groname as rolname, "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp