RE: Compilando postgres 8.3

From: marcelo Cortez <jmdc_marcelo(at)yahoo(dot)com(dot)ar>
To: Juan Hormazabal <jhormazabal(at)entelchile(dot)net>, pgsql-es-ayuda(at)postgresql(dot)org
Subject: RE: Compilando postgres 8.3
Date: 2008-03-06 15:32:08
Message-ID: 762091.44136.qm@web32107.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Juan

segun tengo entendido tenes que usar lc-type = 'C'
y el paramatro para locale es sino me equivoco
--locale
creo que el default es utf8 quees incompatible con
LATIN1.
Ojo no estoy del todo seguro pero proba! :)
salu2

mdc

--- Juan Hormazabal <jhormazabal(at)entelchile(dot)net>
escribió:

> Estimada Lista,
>
>
>
> Necesito un poco de orientación.
>
> Compile por defecto, postgres 8.3 en un Server Linux
> redhat Enterprise 3.0.
>
> Todo bien, pero al momento de crear una base de
> datos con Encoding Latin1,
>
> me da problemas ya que por lo visto el Server quedo
> con encoding UTF8.
>
>
>
> Trate nuevamente de realizar un initdb:
>
>
>
> /usr/local/pgsql/bin/initdb -E latin1 -D
> /postgres/pgsql/data/
>
>
>
> Me envía este mensaje:
>
> The files belonging to this database system will be
> owned by user
> "postgres".
>
> This user must also own the server process.
>
>
>
> The database cluster will be initialized with locale
> en_US.UTF-8.
>
> initdb: encoding mismatch
>
> The encoding you selected (LATIN1) and the encoding
> that the
>
> selected locale uses (UTF8) do not match. This
> would lead to
>
> misbehavior in various character string processing
> functions.
>
> Rerun initdb and either do not specify an encoding
> explicitly,
>
> or choose a matching combination.
>
>
>
> Me falta algun otro parametro. o esta mal seteado. O
> requiero necesariamente
> recompilar nuevamente postgres 8.3 con algún
> parametro adicional?
>
> Mi objetivo final es crear una base de datos con
> Encoding ‘Latin1’ por
> migración desde un postgres 7.4
>
>
>
> Ojala puedan ayudarme.
>
> Muchas gracias
>
> Juan Hormazabal
>
>
>
>

Tarjeta de crédito Yahoo! de Banco Supervielle.
Solicitá tu nueva Tarjeta de crédito. De tu PC directo a tu casa. www.tuprimeratarjeta.com.ar

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Juan Hormazabal 2008-03-06 15:49:11 RE: Compilando postgres 8.3
Previous Message Alvaro Herrera 2008-03-06 15:28:06 Re: Compilando postgres 8.3