Re: configuracion regional

From: Néstor Ramires <nramire1(at)rosario(dot)gov(dot)ar>
To: "pgsql-es-ayuda(at)postgresql(dot)org" <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: configuracion regional
Date: 2018-01-17 17:38:50
Message-ID: op.zczxy0x6ocut9v@car-800
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

No, es el mismo error.

postgres=# CREATE DATABASE mi_base
postgres-# WITH OWNER = postgres
postgres-# TEMPLATE = template0
postgres-# ENCODING = 'UTF8'
postgres-# CONNECTION LIMIT = -1;
ERROR: encoding "UTF8" does not match locale "es_AR.iso88591"
DETAIL: The chosen LC_CTYPE setting requires encoding "LATIN1".
postgres=#

Por lo que vengo leyendo:
http://grokbase.com/t/postgresql/pgsql-es-ayuda/0855eb0bvw/bases-de-datos-utf-8-y-latin1-en-un-mismo-server

http://grokbase.com/t/postgresql/pgsql-general/083y5tj295/locale-encoding-mismatch

Tendría que hacer un cambio importante en el servidor y no estaría en condiciones de tocarlo tanto, por las bases de datos que ya tiene.

En Wed, 17 Jan 2018 14:02:27 -0300, Jaime Casanova <jaime(dot)casanova(at)2ndquadrant(dot)com> escribió:

> 2018-01-17 11:43 GMT-05:00 Néstor Ramires <nramire1(at)rosario(dot)gov(dot)ar>:
>>
>> postgres=# CREATE DATABASE mi_base
>> WITH OWNER = postgres
>> ENCODING = 'UTF8'
>> CONNECTION LIMIT = -1;
>> ERROR: encoding "UTF8" does not match locale "es_AR.iso88591"
>> DETAIL: The chosen LC_CTYPE setting requires encoding "LATIN1".
>> postgres=#
>>
>> ¿como puedo sortear este inconveniente sin modificar la codificacion por
>> defecto?
>>
>
> intenta usando template0 como template
> """
> CREATE DATABASE mi_base
> WITH OWNER = postgres
> TEMPLATE = template0
> ENCODING = 'UTF8'
> CONNECTION LIMIT = -1;
> """
>

--
Ing. Agrimensor Néstor Ramires
Departamento de Cartografía Digital
Dirección General de Topografía y Catastro
Municipalidad de Rosario

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2018-01-17 17:49:05 Re: configuracion regional
Previous Message Jaime Casanova 2018-01-17 17:02:27 Re: configuracion regional