From e4dd75a612d04efbdcb53d6d19c16d610a4d718a Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Wed, 24 Sep 2008 19:33:15 +0000 Subject: [PATCH] Fix pg_dump bug in the database-level collation patch. "datcollate" and "datctype" columns were misspelled. Per report from Chris Browne. --- src/bin/pg_dump/pg_dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 6a31dccc35..6c0f8278f9 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -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)); -- 2.39.5