Re: Changing the encoding of the database on the fly

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Kichanov <mike(at)inar(dot)ru>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Changing the encoding of the database on the fly
Date: 2006-05-31 14:43:14
Message-ID: 12252.1149086594@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Michael Kichanov <mike(at)inar(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2006-05-31 17:35:21 Re: A quick question on CONTRIB package
Previous Message Averbukh Stella 2006-05-31 13:53:38 Re: Problem building initdb on sparc10