Manuel A. Estevez Fernandez escribió:
> Desde un archivo de texto que genero desde un script de python, con
> un COPY tabla(campos) FROM stdin;\n
> valor(tabulacion)valor\r
Seguramente el archivo no está en Latin1 sino algún otro encoding ...
debes dar un "SET client_encoding TO 'valor'" antes de hacer el COPY,
para que el servidor sepa en qué encoding vienen los datos.
--
Alvaro Herrera http://www.advogato.org/person/alvherre
"If it wasn't for my companion, I believe I'd be having
the time of my life" (John Dunbar)