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

From Raymond O'Donnell
Subject Re: Change empty database from ASCII to UTF-8 encoded
Date
Msg-id 496E3E9E.5000404@iol.ie
Whole thread Raw
In response to Change empty database from ASCII to UTF-8 encoded  ("Thom Brown" <thombrown@gmail.com>)
Responses Re: Change empty database from ASCII to UTF-8 encoded  ("Thom Brown" <thombrown@gmail.com>)
List pgsql-general
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: Ivan Sergio Borgonovo
Date:
Subject: Re: Polymorphic "setof record" function?
Next
From: Madison Kelly
Date:
Subject: Odd duplicate database