Re: Change empty database from ASCII to UTF-8 encoded - Mailing list pgsql-general

From Thom Brown
Subject Re: Change empty database from ASCII to UTF-8 encoded
Date
Msg-id bddc86150901141156i712ad436w35865f4655140798@mail.gmail.com
Whole thread Raw
In response to Re: Change empty database from ASCII to UTF-8 encoded  (Raymond O'Donnell <rod@iol.ie>)
List pgsql-general
If it's not important, I'll just drop and re-create it. :)

Thanks

Thom

2009/1/14 Raymond O'Donnell <rod@iol.ie>
On 14/01/2009 19:14, Thom Brown wrote:
> I've just noticed my "postgres" database is encoded in ASCII.  Is there
> any way to convert it to UTF-8?  Is there any negative consequence to
> dropping the database and recreating it?  Like are there special hidden
> tables or functions in there?

AFAIK you can't convert it - you have to drop and recreate it.

There's nothing special about the postgres database; it's just there to
provide an initial connection point, so there'll be nothing in it unless
you put it there.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

pgsql-general by date:

Previous
From: Madison Kelly
Date:
Subject: Odd duplicate database
Next
From: Madison Kelly
Date:
Subject: Re: Odd duplicate database