Content-Length: 258973 | pFad | http://github.com/postgrespro/postgres_cluster/commit/4955109d2281eacec6af8aee203382ac3991f1cf

DD pg_dump: Allow dumping default collation · postgrespro/postgres_cluster@4955109 · GitHub
Skip to content

Commit 4955109

Browse files
committed
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: Neil Anderson <neil.t.anderson@gmail.com> Bug: #14701
1 parent 17082a8 commit 4955109

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/4955109d2281eacec6af8aee203382ac3991f1cf

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy