Re: [SQL] How do I copy part of table from db1 to db2 - Mailing list pgsql-general

From Joost Kraaijeveld
Subject Re: [SQL] How do I copy part of table from db1 to db2
Date
Msg-id 1125500537.9456.68.camel@Panoramix
Whole thread Raw
In response to Re: [SQL] How do I copy part of table from db1 to db2 (and  (Thomas Pundt <mlists@rp-online.de>)
List pgsql-general
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



pgsql-general by date:

Previous
From: Harald Fuchs
Date:
Subject: Re: Get postgresql workin in french...
Next
From: Joost Kraaijeveld
Date:
Subject: Re: [SQL] How do I copy part of table from db1 to db2