aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-05-26 15:37:06 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-05-26 15:37:06 -0400
commit764cb2b596ced6aea4d83fd52ff628bdedb63316 (patch)
tree738ffb36c907e05b94413cfe30d1dec335e151be /src
parent94aced8cd0e229670877fe5c406a98d9a4f1b92a (diff)
downloadpostgresql-764cb2b596ced6aea4d83fd52ff628bdedb63316.tar.gz
postgresql-764cb2b596ced6aea4d83fd52ff628bdedb63316.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 9da9b9e9620..9941111cda0 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -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 "