pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
To: Thomas Pundt <mlists@rp-online.de>
Cc: Pgsql-sql@postgresql.org <Pgsql-sql@postgresql.org>
Cc: Pgsql-General <pgsql-general@postgresql.org>
Subject: Re: [SQL] How do I copy part of table from db1 to db2
Date: Wed, 31 Aug 2005 17:02:17 +0200
Message-ID: <1125500537.9456.68.camel@Panoramix> (raw)
In-Reply-To: <200508311414.26431.mlists@rp-online.de>
References: <1125482430.9456.6.camel@Panoramix>
	<1125489603.9456.24.camel@Panoramix>
	<200508311409.16106.mlists@rp-online.de>
	<200508311414.26431.mlists@rp-online.de>

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





view thread (11+ messages)  latest in thread

Message-ID: <1125500537.9456.68.camel@Panoramix>
Permalink:  ../1125500537.9456.68.camel@Panoramix/
Also on:    postgresql.org/message-id/1125500537.9456.68.camel@Panoramix

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: J.Kraaijeveld@Askesis.nl, mlists@rp-online.de, pgsql-general@postgresql.org
  Subject: Re: [SQL] How do I copy part of table from db1 to db2
  In-Reply-To: <1125500537.9456.68.camel@Panoramix>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox