From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | César Eduardo Schneider <cesschneider(at)yahoo(dot)com(dot)br> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: locale error |
Date: | 2003-02-12 14:37:59 |
Message-ID: | 1045060678.13083.74.camel@linda.lfix.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)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(dot)Elphick(at)lfix(dot)co(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-02-12 14:50:27 | Re: how do I get a log of SQL executed by server? |
Previous Message | Jeff Bearer | 2003-02-12 14:21:18 | Is there anything equivalent to Oracle9i's list partitioning? |