Re: Installation Questions (FreeBSD / Windows / Postgres 9)

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Panos Katergiathis <eyeprotocol(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Installation Questions (FreeBSD / Windows / Postgres 9)
Date: 2010-11-04 21:14:43
Message-ID: m27hgskczg.fsf@2ndQuadrant.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Panos Katergiathis <eyeprotocol(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jonathan Hoover 2010-11-05 03:03:03 Re: Disk Performance Problem on Large DB
Previous Message Kevin Grittner 2010-11-04 21:03:35 Re: Disk Performance Problem on Large DB