Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group