Hola,

Estoy usando potgresql 9.2.3, estoy migrando una  bases datos cuyo encoding
es  'LATIN9', la creacion  es:

CREATE DATABASE prueba1
  WITH OWNER = postgres
       ENCODING = 'LATIN9'
       TABLESPACE = pg_default
       LC_COLLATE = 'C'
       LC_CTYPE = 'C'
       CONNECTION LIMIT = -1;



y la configuración del servidor en postgresql.conf


#client_encoding = LATIN1               # actually, defaults to database
                                        # encoding

client_encoding =  UTF8                 # actually, defaults to database

# These settings are initialized by initdb, but they can be changed.
lc_messages = 'es_AR.UTF-8'                     # locale for system error
message
                                        # strings
lc_monetary = 'es_AR.UTF-8'                     # locale for monetary
formatting
lc_numeric = 'es_AR.UTF-8'                      # locale for number
formatting
lc_time = 'es_AR.UTF-8'                         # locale for time formatting




y el error que me da cuando quiero ingresar a la base de datos creada es:


postgres@MIPSQLL002dv:/etc/postgresql/9.2/main$ psql prueba1
psql: FATAL:  la conversión entre LATIN1 y LATIN9 no está soportada


quería saber si hay alguna forma de solucionarlo.

Muchas gracias
Mariano

Responder a