提交 a671d940 编写于 作者: P Peter Eisentraut

pg_dump: Dump user mappings ordered by user name

This is to get a deterministic dump order independent of the order in
which the user mappings were created.
上级 66843265
......@@ -11766,7 +11766,8 @@ dumpUserMappings(Archive *fout,
"FROM pg_options_to_table(umoptions)"
"), ', ') AS umoptions "
"FROM pg_user_mappings "
"WHERE srvid = '%u'",
"WHERE srvid = '%u' "
"ORDER BY usename",
catalogId.oid);
res = PQexec(g_conn, query->data);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册