Re: Change empty database from ASCII to UTF-8 encoded

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Thom Brown <thombrown(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Change empty database from ASCII to UTF-8 encoded
Date: 2009-01-14 19:35:58
Message-ID: 496E3E9E.5000404@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jason Long 2009-01-14 19:44:49 Re: Use PSQLFS for photo storage
Previous Message Ivan Sergio Borgonovo 2009-01-14 19:34:04 Re: Polymorphic "setof record" function?