pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedrunning initdb on running database
3+ messages / 2 participants
[nested] [flat]
* running initdb on running database
@ 2006-11-13 21:10 Ben K. <bkim@coe.tamu.edu>
2006-11-14 17:17 ` Re: running initdb on running database Jim C. Nasby <jim@nasby.net>
0 siblings, 1 reply; 3+ messages in thread
From: Ben K. @ 2006-11-13 21:10 UTC (permalink / raw)
To: pgsql-admin
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?
Thanks.
Ben K.
Developer
http://benix.tamu.edu
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: running initdb on running database
2006-11-13 21:10 running initdb on running database Ben K. <bkim@coe.tamu.edu>
@ 2006-11-14 17:17 ` Jim C. Nasby <jim@nasby.net>
2006-11-14 19:15 ` Re: running initdb on running database Ben K. <bkim@coe.tamu.edu>
0 siblings, 1 reply; 3+ messages in thread
From: Jim C. Nasby @ 2006-11-14 17:17 UTC (permalink / raw)
To: Ben K. <bkim@coe.tamu.edu>; +Cc: pgsql-admin
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@nasby.net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: running initdb on running database
2006-11-13 21:10 running initdb on running database Ben K. <bkim@coe.tamu.edu>
2006-11-14 17:17 ` Re: running initdb on running database Jim C. Nasby <jim@nasby.net>
@ 2006-11-14 19:15 ` Ben K. <bkim@coe.tamu.edu>
0 siblings, 0 replies; 3+ messages in thread
From: Ben K. @ 2006-11-14 19:15 UTC (permalink / raw)
To: Jim C. Nasby <jim@nasby.net>; +Cc: 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@nasby.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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2006-11-14 19:15 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-11-13 21:10 running initdb on running database Ben K. <bkim@coe.tamu.edu>
2006-11-14 17:17 ` Jim C. Nasby <jim@nasby.net>
2006-11-14 19:15 ` Ben K. <bkim@coe.tamu.edu>
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