pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Drew <drewmwilson@fastmail.fm>
To: lms <piechcio@inetcafe.eu.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: How convert UNICODE
Date: Fri, 17 Nov 2006 13:17:05 -0800
Message-ID: <D7EE51D7-81DF-4E64-9947-3B7A40AA636B@fastmail.fm> (raw)
In-Reply-To: <20061117165852.M2045@isb.com.pl>
References: <20061117165852.M2045@isb.com.pl>

How about pg_dump the data from your old database, then load it into  
your new database which is using UTF8?

Drew

On Nov 17, 2006, at 9:09 AM, lms wrote:

> Hello
> I have 2 databases with same table. First database is in UNICODE,  
> second in
> SQL_ASCII.
>
>  4 columns from first database I must convert to:
>  (first column)iso8859-1,
>  (second column)iso8859-2,
>  (3-th column)iso8859-1,
>  (4 column)iso8859-5.
>
> After it I must save these 4 rows in database in SQL_ASCII.
> How can I do it? It can be using libpq,libpgeasy,....
>
> Thx.
>
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that  
> your
>        message can get through to the mailing list cleanly




view thread (6+ messages)  latest in thread

Message-ID: <D7EE51D7-81DF-4E64-9947-3B7A40AA636B@fastmail.fm>
Permalink:  ../D7EE51D7-81DF-4E64-9947-3B7A40AA636B@fastmail.fm/
Also on:    postgresql.org/message-id/D7EE51D7-81DF-4E64-9947-3B7A40AA636B@fastmail.fm

 · 

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: drewmwilson@fastmail.fm, piechcio@inetcafe.eu.org
  Subject: Re: How convert UNICODE
  In-Reply-To: <D7EE51D7-81DF-4E64-9947-3B7A40AA636B@fastmail.fm>

* 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