Re: Bug #814 - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Bug #814
Date
Msg-id Pine.LNX.4.33.0309151311110.15996-100000@leary.csoft.net
Whole thread Raw
In response to Re: Bug #814  (Barry Lind <blind@xythos.com>)
List pgsql-jdbc

On Mon, 15 Sep 2003, Barry Lind wrote:

> Malcolm,
>
> Without knowing what errors you are seeing, I can't say for sure what is
> going wrong for you.  However the following seems to work for me:
>
> pg_dump -f test.dmp testdb
> createdb -E unicode newtestdb
> psql -f test.dmp newtestdb

If you have non-unicode characters in the ascii database the restore to a
unicode database will fail.  People have recommended running iconv on the
dump file to convert it to unicode, for me setting
PGCLIENTENCODING=UNICODE before the dump of the original database fixed
the problem with bad characters.

Kris Jurka


pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: Bug #814
Next
From: Oliver Jowett
Date:
Subject: Re: Statement.cancel() may cancel queries in the future