Commit 764cb2b5 authored by Tom Lane's avatar Tom Lane

Fix typo in pg_dump's support for dumping collations from pre-v10 servers.

Dunno what 'p' was supposed to mean, but since neither the code below
here nor pg_collation.h think it's valid, it must be a mistake.

Per report from Thomas Kellerer.

Discussion: https://postgr.es/m/og9q8f%24oes%241%40blaine.gmane.org
parent 94aced8c
...@@ -13039,7 +13039,7 @@ dumpCollation(Archive *fout, CollInfo *collinfo) ...@@ -13039,7 +13039,7 @@ dumpCollation(Archive *fout, CollInfo *collinfo)
collinfo->dobj.catId.oid); collinfo->dobj.catId.oid);
else else
appendPQExpBuffer(query, "SELECT " appendPQExpBuffer(query, "SELECT "
"'p'::char AS collprovider, " "'c'::char AS collprovider, "
"collcollate, " "collcollate, "
"collctype, " "collctype, "
"NULL AS collversion " "NULL AS collversion "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment