From: | Joost Kraaijeveld <J(dot)Kraaijeveld(at)Askesis(dot)nl> |
---|---|
To: | Thomas Pundt <mlists(at)rp-online(dot)de> |
Cc: | "Pgsql-sql(at)postgresql(dot)org" <Pgsql-sql(at)postgresql(dot)org>, Pgsql-General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: [SQL] How do I copy part of table from db1 to db2 |
Date: | 2005-08-31 15:02:17 |
Message-ID: | 1125500537.9456.68.camel@Panoramix |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
On Wed, 2005-08-31 at 14:14 +0200, Thomas Pundt wrote:
> pg_dump -t artik munttest | recode latin1..utf8 | psql muntfinal
Because the source encoding is unknown (the actual source database was
an ODBC source without known encoding that was copied with a C++ written
to a SQL_ASCII PostgreSQL database) I used no source encoding:
"pg_dump -t artik munttest | recode ..utf8 | psql muntfinal"
and that worked: no errors. I just lost all diacritical chars as far as
I can see (which is a minor and someone else's problem ;-)).
Thanks for the sugggestion.
Joost
From | Date | Subject | |
---|---|---|---|
Next Message | Joost Kraaijeveld | 2005-08-31 15:14:08 | Re: [SQL] How do I copy part of table from db1 to db2 |
Previous Message | Tom Lane | 2005-08-31 14:29:49 | Re: [SQL] How do I copy part of table from db1 to db2 (and |
From | Date | Subject | |
---|---|---|---|
Next Message | Henry Ortega | 2005-08-31 15:09:54 | insert only if conditions are met? |
Previous Message | Tom Lane | 2005-08-31 14:29:49 | Re: [SQL] How do I copy part of table from db1 to db2 (and |