Re: locales and encodings Oh MY! - Mailing list pgsql-admin

From Gabriele Bartolini
Subject Re: locales and encodings Oh MY!
Date
Msg-id 4CDCF083.2040004@2ndQuadrant.it
Whole thread Raw
In response to locales and encodings Oh MY!  ("mark" <dvlhntr@gmail.com>)
Responses Re: locales and encodings Oh MY!
List pgsql-admin
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


pgsql-admin by date:

Previous
From: "mark"
Date:
Subject: locales and encodings Oh MY!
Next
From: Aimé Mukuma
Date:
Subject: FW: How to replicate postgresql 8.2.9 on two servers on using linux fedora core 7.