=?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