bug in 8.4 pg_dumpall ?

Started by Grzegorz Jaśkiewiczabout 17 years ago2 messagesgeneral
Jump to latest
#1Grzegorz Jaśkiewicz
gryzman@gmail.com

dumped db with 2 week version of pg_dumpall (yeah, I know, install
tools first, etc, but that's 8.4).
now trying to restore it from that backup with new psql, gives me that:

ERROR: syntax error at or near "COLLATE"
LINE 1: ...ATE = template0 OWNER = gjaskie ENCODING = 'UTF8' COLLATE = ...

ideas ? (except for just removing anythign after ENCODING.

--
GJ

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Grzegorz Jaśkiewicz (#1)
Re: bug in 8.4 pg_dumpall ?

=?UTF-8?Q?Grzegorz_Ja=C5=9Bkiewicz?= <gryzman@gmail.com> writes:

dumped db with 2 week version of pg_dumpall (yeah, I know, install
tools first, etc, but that's 8.4).
now trying to restore it from that backup with new psql, gives me that:

ERROR: syntax error at or near "COLLATE"
LINE 1: ...ATE = template0 OWNER = gjaskie ENCODING = 'UTF8' COLLATE = ...

We just yesterday changed the spelling of those options. If you dump
with today's pg_dump it should work.

regards, tom lane