Skip to content

Commit 83c3121

Browse files
committed
Fix pg_dump bug in the database-level collation patch. "datcollate" and
"datctype" columns were misspelled. Per report from Chris Browne.
1 parent 96a25d3 commit 83c3121

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* by PostgreSQL
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.501 2008/09/23 09:20:37 heikki Exp $
15+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.502 2008/09/24 19:33:15 heikki Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -1653,8 +1653,8 @@ dumpDatabase(Archive *AH)
16531653
i_oid = PQfnumber(res, "oid");
16541654
i_dba = PQfnumber(res, "dba");
16551655
i_encoding = PQfnumber(res, "encoding");
1656-
i_collate = PQfnumber(res, "collate");
1657-
i_ctype = PQfnumber(res, "ctype");
1656+
i_collate = PQfnumber(res, "datcollate");
1657+
i_ctype = PQfnumber(res, "datctype");
16581658
i_tablespace = PQfnumber(res, "tablespace");
16591659

16601660
dbCatId.tableoid = atooid(PQgetvalue(res, 0, i_tableoid));

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