Re: running initdb on running database

From: "Ben K(dot)" <bkim(at)coe(dot)tamu(dot)edu>
To: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: running initdb on running database
Date: 2006-11-14 19:15:46
Message-ID: Pine.GSO.4.64.0611141309380.19061@coe.tamu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, 14 Nov 2006, Jim C. Nasby wrote:
> On Mon, Nov 13, 2006 at 03:10:14PM -0600, Ben K. wrote:
>> Admins,
>> I'm reading this post:
>> http://archives.postgresql.org/pgsql-novice/2005-04/msg00221.php
>> Is it possible and safe to run initdb again on a running database to
>> change encoding from SQL_ASCII to UTF8?
>> Will it affect new databases only or existing databases as well?
> Pretty much guaranteed to be unsafe. It's also not possible unless you
> hack initdb.
> --
> Jim Nasby jim(at)nasby(dot)net
> EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

Thanks.

I guess then the next upgrade may be the best opportunity to change the
encoding.

Regards,

Ben K.
Developer
http://benix.tamu.edu

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2006-11-14 20:11:54 Re: 100% failover + replication solution
Previous Message Jim C. Nasby 2006-11-14 17:18:35 Re: replication?