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

Commit4955109

Browse files
committed
pg_dump: Allow dumping default collation
This will not work on restore, but it will allow dumping out pg_catalogfor research and documentation.Reported-by: Neil Anderson <neil.t.anderson@gmail.com>Bug: #14701
1 parent17082a8 commit4955109

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13073,6 +13073,9 @@ dumpCollation(Archive *fout, CollInfo *collinfo)
1307313073
appendPQExpBufferStr(q, "libc");
1307413074
else if (collprovider[0] == 'i')
1307513075
appendPQExpBufferStr(q, "icu");
13076+
else if (collprovider[0] == 'd')
13077+
/* to allow dumping pg_catalog; not accepted on input */
13078+
appendPQExpBufferStr(q, "default");
1307613079
else
1307713080
exit_horribly(NULL,
1307813081
"unrecognized collation provider: %s\n",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp