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

Commita671d94

Browse files
committed
pg_dump: Dump user mappings ordered by user name
This is to get a deterministic dump order independent of the order inwhich the user mappings were created.
1 parent6684326 commita671d94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11766,7 +11766,8 @@ dumpUserMappings(Archive *fout,
1176611766
"FROM pg_options_to_table(umoptions)"
1176711767
"), ', ') AS umoptions "
1176811768
"FROM pg_user_mappings "
11769-
"WHERE srvid = '%u'",
11769+
"WHERE srvid = '%u' "
11770+
"ORDER BY usename",
1177011771
catalogId.oid);
1177111772

1177211773
res=PQexec(g_conn,query->data);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp