Thread: Encode

Encode

From
"Ezequias R. da Rocha"
Date:
Hi list,

It is possible to change the Encode of one database while it is on ?

Sincerely
Ezequias


Re: Encode

From
"Shoaib Mir"
Date:
For that you will need to drop and re-create it with a different encoding

--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 3/19/07, Ezequias R. da Rocha <ezequias@fastcon.com.br> wrote:
Hi list,

It is possible to change the Encode of one database while it is on ?

Sincerely
Ezequias

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Re: Encode

From
Jure Kodzoman
Date:
On Mon, 2007-03-19 at 09:21 -0300, Ezequias R. da Rocha wrote:
> Hi list,
> 
> It is possible to change the Encode of one database while it is on ?
> 
> Sincerely
> Ezequias

No it isn't. You would have to drop and recreate an entire DB for that.

But it's possible to change encoding of your client. It might be of help
to you, depending on why you want to change encoding. 

SET CLIENT_ENCODING TO 'LATIN2';

where you would change latin2 with encoding you wish to use.

You can find more info on this topic on
http://www.postgresql.org/docs/8.2/static/multibyte.html

Best regards,

Jure Kodzoman
Ljubljana