diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2008-09-24 19:33:15 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2008-09-24 19:33:15 +0000 |
commit | 83c31214031d8ba7f0ffe7e77688c1c6166958b6 (patch) | |
tree | 00b2902056fcf25056b115f53dc2b698baa49018 /src | |
parent | 96a25d393cac5b0f9d36f32c8a874b6ea662ebc1 (diff) | |
download | postgresql-83c31214031d8ba7f0ffe7e77688c1c6166958b6.tar.gz postgresql-83c31214031d8ba7f0ffe7e77688c1c6166958b6.zip |
Fix pg_dump bug in the database-level collation patch. "datcollate" and
"datctype" columns were misspelled. Per report from Chris Browne.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 55b944ae948..074b647c338 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -12,7 +12,7 @@ * by PostgreSQL * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.501 2008/09/23 09:20:37 heikki Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.502 2008/09/24 19:33:15 heikki Exp $ * *------------------------------------------------------------------------- */ @@ -1653,8 +1653,8 @@ dumpDatabase(Archive *AH) i_oid = PQfnumber(res, "oid"); i_dba = PQfnumber(res, "dba"); i_encoding = PQfnumber(res, "encoding"); - i_collate = PQfnumber(res, "collate"); - i_ctype = PQfnumber(res, "ctype"); + i_collate = PQfnumber(res, "datcollate"); + i_ctype = PQfnumber(res, "datctype"); i_tablespace = PQfnumber(res, "tablespace"); dbCatId.tableoid = atooid(PQgetvalue(res, 0, i_tableoid)); |