Skip to content
Snippets Groups Projects
Commit 4955109d authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

pg_dump: Allow dumping default collation


This will not work on restore, but it will allow dumping out pg_catalog
for research and documentation.

Reported-by: default avatarNeil Anderson <neil.t.anderson@gmail.com>
Bug: #14701
parent 17082a88
No related branches found
No related tags found
No related merge requests found
......@@ -13073,6 +13073,9 @@ dumpCollation(Archive *fout, CollInfo *collinfo)
appendPQExpBufferStr(q, "libc");
else if (collprovider[0] == 'i')
appendPQExpBufferStr(q, "icu");
else if (collprovider[0] == 'd')
/* to allow dumping pg_catalog; not accepted on input */
appendPQExpBufferStr(q, "default");
else
exit_horribly(NULL,
"unrecognized collation provider: %s\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment