From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Panos Katergiathis <eyeprotocol@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Installation Questions (FreeBSD / Windows / Postgres 9)
Date: Thu, 04 Nov 2010 22:14:43 +0100
Message-ID: <m27hgskczg.fsf@2ndQuadrant.fr> (raw)
In-Reply-To: <AANLkTikWU4CBuOLK8bpBOH17betrvWCHqMGTZuZkfVMk@mail.gmail.com>
References: <AANLkTikWU4CBuOLK8bpBOH17betrvWCHqMGTZuZkfVMk@mail.gmail.com>
Panos Katergiathis <eyeprotocol@gmail.com> writes:
> Unfortunately, it has been a while since i last compiled and installed
> Postgresql on Linux machines. I remember that selecting the proper
> locale and encoding for the database cluster was a matter to be
> decided at built time. Is it still so for version 9?
No, see CREATE DATABASE documentation here:
http://www.postgresql.org/docs/9/static/sql-createdatabase.html
CREATE DATABASE name
[ [ WITH ] [ OWNER [=] user_name ]
[ TEMPLATE [=] template ]
[ ENCODING [=] encoding ]
[ LC_COLLATE [=] lc_collate ]
[ LC_CTYPE [=] lc_ctype ]
[ TABLESPACE [=] tablespace ]
[ CONNECTION LIMIT [=] connlimit ] ]
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: dimitri@2ndQuadrant.fr, eyeprotocol@gmail.com
Subject: Re: Installation Questions (FreeBSD / Windows / Postgres 9)
In-Reply-To: <m27hgskczg.fsf@2ndQuadrant.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox