RE: Default encoding in database - Mailing list pgsql-general

From Tatsuo Ishii
Subject RE: Default encoding in database
Date
Msg-id 20010830172816R.t-ishii@sra.co.jp
Whole thread Raw
In response to Default encoding in database  ("Jacob Vennervald Madsen" <jvm@gopinocchio.com>)
Responses Re: Default encoding in database
List pgsql-general
> > How does the output from "psql -l" look like?
>          List of databases
>   Database  |  Owner   | Encoding
> ------------+----------+-----------
>  template0  | postgres | SQL_ASCII
>  template1  | postgres | SQL_ASCII
> Jacob

I don't know why your template1 DB's encoding is SQL_ASCII, but you
need to change the encoding of the DB anyway.

try:

psql -c "update pg_database set encoding = 7 where datname =
'template1'" template1
--
Tatsuo Ishii

pgsql-general by date:

Previous
From: Gunnar Rønning
Date:
Subject: Re: url to free text search stategies in postgresql?
Next
From: "Jacob Vennervald Madsen"
Date:
Subject: RE: Default encoding in database