From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Kichanov <mike@inar.ru>
Cc: pgsql-admin@postgresql.org
Subject: Re: Changing the encoding of the database on the fly
Date: Wed, 31 May 2006 10:43:14 -0400
Message-ID: <12252.1149086594@sss.pgh.pa.us> (raw)
In-Reply-To: <200605311335.RAA11979@mix.inar.ru>
References: <200605311335.RAA11979@mix.inar.ru>
Michael Kichanov <mike@inar.ru> writes:
> Can i change the encoding of the database with "update pg_database set encoding= where datname="
> without any problem with DB integrity?
No. That's not going to magically fix your data to be correct in the
new encoding.
regards, tom lane
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: tgl@sss.pgh.pa.us, mike@inar.ru
Subject: Re: Changing the encoding of the database on the fly
In-Reply-To: <12252.1149086594@sss.pgh.pa.us>
References: <200605311335.RAA11979@mix.inar.ru> <12252.1149086594@sss.pgh.pa.us>
* 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