From: Hannes Dorbath <light@theendofthetunnel.de>
To: pgsql-admin@postgresql.org
Subject: Re: character problem
Date: Mon, 10 Oct 2005 15:24:42 +0200
Message-ID: <didq25$120d$1@news.hub.org> (raw)
In-Reply-To: <434A5D8E.1000401@infinito.it>
References: <4349106C.6080206@infinito.it>
<did562$epf$1@news.hub.org>
<434A2792.1070106@infinito.it>
<didaip$2me3$1@news.hub.org>
<dideic$1ppa$1@news.hub.org>
<434A5D8E.1000401@infinito.it>
On 10.10.2005 14:24, Luca Ferrari wrote:
> The old rows are still displayed in a bad format, the newly inserted one
> is instead shown rightly. Also data in pg_dump present wrong strings,
> thus any suggestion about how to reconvert already inserted data?
It should be possible to convert it with an intentionally "wrong"
client_encoding and one or two reloads, but I don't have the time ATM to
think out how to do it exactly, maybe someone else can help in the meantime.
> Moreover, the set client_encoding change is permanent or do I have to
> configure it in the postgresql.conf file?
No it's for the running session only. Set it global in postgresql.conf,
for each user or just fire "SET client_encoding = LATIN1;" as first
query in your scripts.
--
Regards,
Hannes Dorbath
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: light@theendofthetunnel.de
Subject: Re: character problem
In-Reply-To: <didq25$120d$1@news.hub.org>
References: <4349106C.6080206@infinito.it> <did562$epf$1@news.hub.org> <434A2792.1070106@infinito.it> <didaip$2me3$1@news.hub.org> <dideic$1ppa$1@news.hub.org> <434A5D8E.1000401@infinito.it> <didq25$120d$1@news.hub.org>
* 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