Re: problem with locale :

From: Vibhor Kumar <vibhor(dot)aim(at)gmail(dot)com>
To: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
Cc: Eugenio Modesti <eugenio(dot)modesti(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: problem with locale :
Date: 2009-03-29 09:48:37
Message-ID: 49CF43F5.1090301@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Eigenio,

Stefan has already mentioned the reason for the error.

It seems the database is not compatible with the binaries/server.

However, you can check the locale of data directory using the
pg_controldata <data directory>, if the it is compatible with the server.

For information about the command:
http://www.postgresql.org/docs/8.1/static/app-pgcontroldata.html

Thanks & Regards,
Vibhor Kumar
www.enterprisedb.com

Vibhor Kumar wrote:
> Hi Eugenio,
>
> Use the following command to know about the locale.
> pg_controldata <Data Directory>
>
> For more information, please follow the link given below:
> http://www.postgresql.org/docs/8.3/static/app-pgcontroldata.html
>
> Thanks & Regards,
> Vibhor Kumar
> www.enteprisedb.com
>
> Stefan Kaltenbrunner wrote:
>> Eugenio Modesti wrote:
>>> Hello,
>>> i received a copy of a postgresql data directory and i need to read
>>> it (and do a regular dump).
>>> the datadir version is 8.1 so i installed that version of the server.
>>> When trying to start the server i got this:
>>> Error: The server must be started under the locale : which does not
>>> exist anymore
>>>
>>> how can i know on which locale that datadir is based?
>>> what is ":" as a locale?
>>>
>>> the server is running under ubuntu server.
>>
>> are you sure that the datadirectory you got was not created on a
>> 32bit box and you are running a 64bit OS (or the other way round)?
>>
>>
>> Stefan
>>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alain Roger 2009-03-29 10:21:33 concatenate and use as field
Previous Message Vibhor Kumar 2009-03-29 09:34:42 Re: problem with locale :