Re: Database encoding

From: Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr>
To: Daniel Lucazeau <infonews(at)ajornet(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Database encoding
Date: 2002-05-13 13:22:29
Message-ID: 200205131522.29075.jm.poure@freesurf.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Le Vendredi 10 Mai 2002 15:53, Daniel Lucazeau a écrit :
> how can I change the encoding of a database ?

Dear Daniel,

Server-side database encoding is set a creation time:
CREATE DATABASE foo with encoding 'encoding_name';

You can recode the data stream on the fly client-side with:
SET CLIENT_ENCODING = 'encoding_name';

Cheers,
Jean-Michel POURE

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vincent Stoessel 2002-05-13 13:33:38 if exists?
Previous Message Tahira Aslam 2002-05-13 06:29:47 Re: can Function return a row ???