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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy