Re: Will PostgreSQL 8.4 allow having different encoding databases on a same PostgreSQL server ?

From: "Albe Laurenz *EXTERN*" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Bruno Baguette *EXTERN*" <bruno(dot)baguette(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Will PostgreSQL 8.4 allow having different encoding databases on a same PostgreSQL server ?
Date: 2009-04-09 15:12:26
Message-ID: D960CB61B694CF459DCFB4B0128514C202FF6559@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruno Baguette wrote:
> Currently, I have several PostgreSQL databases, some of them are using
> LATIN1 encoding, some of them are using UTF-8 encoding.
>
> In order to have theses two encoding, we had to install two PostgreSQL
> server on two different ports. One is for LATIN1 databases and one is
> for UTF-8 databases. (I known there is a workaround which allows to mix
> several databases encoding them on a same PostgreSQL server, by
> specifying "C" locale to initdb).
>
> I've heard some rumors on freenode stating that PostgreSQL 8.4. will
> allow to have several databases encoding. Did I understand right ?

You can already do that, just use

CREATE DATABASE dbname ENCODING=anyencoding

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marcin Krol 2009-04-09 15:40:22 Re: complicated query (newbie..)
Previous Message Aurimas Černius 2009-04-09 15:11:23 Re: complicated query (newbie..)