how can i change encoding in template1 DB?

From: Nando67 <xxx(dot)yyy(at)zzz(dot)it>
To: pgsql-general(at)postgresql(dot)org
Subject: how can i change encoding in template1 DB?
Date: 2009-12-12 13:32:34
Message-ID: hg062i$2tu$1@nnrp.ngi.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I installed postgresql by pacman (i'm using an ArchLinux Distr)
the default encoding of template1 is SQL_ASCII, i want to change this
one with UTF8 encoding

i try to use ALTER DATABASE but this statemanent hasn't the clause
encoding (while the CREATE DATABASE has it) so i can't modify the
template1 db by this one.

how can i do it?

many thanks

nando

Responses

Browse pgsql-general by date

  From Date Subject
Next Message zxo102 ouyang 2009-12-12 15:59:07 How to save the results of replace(split_part(trim(both ' ' from "vx6000__12channel"), '__', 2), 'channel', 'myChannel') in my query into a temp variable?
Previous Message Linos 2009-12-12 10:14:55 Re: Large Objects and Replication question