changing the locale of the DB cluster

Started by Kent Tongalmost 17 years ago2 messagesgeneral
Jump to latest
#1Kent Tong
kent@cpttm.org.mo

Hi,

I know that it is impossible to change the locale. But can I pg_dump all the
databases, run initdb again using the desired locale, and then pg_restore?

-----
--
Kent Tong
Wicket tutorials freely available at http://www.agileskills2.org/EWDW
Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA
--
View this message in context: http://www.nabble.com/changing-the-locale-of-the-DB-cluster-tp23648611p23648611.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In reply to: Kent Tong (#1)
Re: changing the locale of the DB cluster

On 21/05/2009 07:39, Kent Tong wrote:

I know that it is impossible to change the locale. But can I pg_dump all the
databases, run initdb again using the desired locale, and then pg_restore?

Absolutely - this is no different from an upgrade scenario.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------