copy_from error with ssl connection

Oswaldo Hernández <[email protected]> Thu, 11 Feb 2010 22:02:22 +0100
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
Hello,

I have an error when try to copy a file with cursor.copy_from()

In the the client side (windows):
   psycopg2.ProgrammingError
   server closed the connection unexpectedly

The server log (Debian, Postgres 8.3):

2010-02-11 21:42:26 CET pruebas:postgres PID:6342 STATEMENT:  COPY 
ext.tel_tmp(marca,fabricante,referencia,descripcion,cod_telematel,precio,cod_barras,unid_precio,ecotasa,nula) 
FROM stdin WITH DELIMITER AS E';'
2010-02-11 21:42:26 CET pruebas:postgres PID:6342 LOG:  error SSL: bad 
write retry

If i disable SSL copy_from works fine with the same file.

I run psql client on windows machine and open a ssl connection to the 
same server, and do \copy  .. with the same file. The copy works ok.

The problem is not the file size, i used cursor.copy_from over ssl 
conenction with bigger files without problem.

psycopg2.__version__
'2.0.10 (dt dec ext pq3)'

Any ideas?

Thanks,
-- 
*****************************************
Oswaldo Hernández
oswaldo (@) soft-com (.) es
*****************************************
PD:
Antes de imprimir este mensaje, asegúrese de que es necesario.
El medio ambiente está en nuestra mano.