Skip to content

Commit 764cb2b

Browse files
committed
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
1 parent 94aced8 commit 764cb2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_dump/pg_dump.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -13039,7 +13039,7 @@ dumpCollation(Archive *fout, CollInfo *collinfo)
1303913039
collinfo->dobj.catId.oid);
1304013040
else
1304113041
appendPQExpBuffer(query, "SELECT "
13042-
"'p'::char AS collprovider, "
13042+
"'c'::char AS collprovider, "
1304313043
"collcollate, "
1304413044
"collctype, "
1304513045
"NULL AS collversion "

0 commit comments

Comments
 (0)