Re: locale error - Mailing list pgsql-general

From Oliver Elphick
Subject Re: locale error
Date
Msg-id 1045060678.13083.74.camel@linda.lfix.co.uk
Whole thread Raw
In response to locale error  (César Eduardo Schneider<cesschneider@yahoo.com.br>)
List pgsql-general
On Wed, 2003-02-12 at 14:15, César Eduardo Schneider wrote:
> I have instaled a new system and I´m trying to restore my old
> database.
>
> I get this error:
>
> postgres@server:/usr/local/pgsql/bin$ ./postmaster -D /home/pgsql.old/
> Failed to initialize lc_messages to ''
> PANIC:  The database cluster was initialized with LC_CTYPE 'pt_BR',
>         which is not recognized by setlocale().
>         It looks like you need to initdb.
> Aborted
>
> somebody know what is happing and how can I solve this.

It looks as though you have not enabled the use of the locale pt_BR on
that machine.  In some systems, locales must be specifically enabled.
See if you have the program locale-gen on your system.


--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "When I consider thy heavens, the work of thy fingers,
      the moon and the stars, which thou hast ordained; What
      is man, that thou art mindful of him? and the son of
      man, that thou visitest him? For thou hast made him a
      little lower than the angels, and hast crowned him
      with glory and honour."            Psalms 8:3-5


pgsql-general by date:

Previous
From: Tony Grant
Date:
Subject: Re: locale error
Next
From: Jeff Bearer
Date:
Subject: Is there anything equivalent to Oracle9i's list partitioning?