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
This commit is contained in:
Tom Lane 2017-05-26 15:37:06 -04:00
parent 94aced8cd0
commit 764cb2b596

View File

@ -13039,7 +13039,7 @@ dumpCollation(Archive *fout, CollInfo *collinfo)
collinfo->dobj.catId.oid);
else
appendPQExpBuffer(query, "SELECT "
"'p'::char AS collprovider, "
"'c'::char AS collprovider, "
"collcollate, "
"collctype, "
"NULL AS collversion "