From: Gabriele Bartolini <gabriele.bartolini@2ndQuadrant.it>
To: mark <dvlhntr@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: locales and encodings Oh MY!
Date: Fri, 12 Nov 2010 08:45:07 +0100
Message-ID: <4CDCF083.2040004@2ndQuadrant.it> (raw)
In-Reply-To: <000001cb8211$c4c91b00$4e5b5100$@com>
References: <000001cb8211$c4c91b00$4e5b5100$@com>
Hi Mark,
Il 12/11/10 03:31, mark ha scritto:
> I have listed what I think I will be doing with regards to initdb. if anyone
> sees problems with the following mixture during my dump -> init-> restore I
> would be most keen in hearing about it.
FYI, PostgreSQL 8.4 introduced database level collation. Before that,
yes, you need to re-init your data dir.
> initdb /path/to/data/dir --lc_ctype=C --lc_collation=C
> --lc_message=en_US.UTF8 --lc_monetary=en_US.UTF8 --lc_numeric=en_US.UTF8
> --lc_time=en_US.UTF8 -E UTF8
Maybe you meant --lc_collate ?
Cheers,
Gabriele
--
Gabriele Bartolini - 2ndQuadrant Italia
PostgreSQL Training, Services and Support
gabriele.bartolini@2ndQuadrant.it | www.2ndQuadrant.it
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: gabriele.bartolini@2ndQuadrant.it, dvlhntr@gmail.com
Subject: Re: locales and encodings Oh MY!
In-Reply-To: <4CDCF083.2040004@2ndQuadrant.it>
* 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