[pgsql-ayuda] error pqReadData

Atanacio Reyes areyesv@yahoo.com
Thu, 28 Sep 2000 19:54:08 -0700 (PDT)


--- felipe fernandez <danielfm@teleline.es> wrote:
> Hola, 
> cuando intento hacer un UPDATE O DELETE tanto desde
> psql como desde 
> unos programas en tcl/tk en una determinada tabla me
> da el mensaje:
> 
> pqReadData() backend closed the channel
> unexpectedly. This probably 
> means the backend terminated abnormally before or
> while processing the 
> request.
> 

Ese error lo he visto cuando existen valores nulos en
la tabla, generalmente aquellos que son de tipo char,
varchar o text.  Puede solucionarse creando la tabla
mas o menos asi:

create table tabla1( campo1 varchar(20) default '');

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
--------- Pie de mensaje -------------------------------------------
Archivo historico: http://tlali.iztacala.unam.mx/maillist/pgsql-ayuda
Cancelar inscripcion:
mail to: majordomo@tlali.iztacala.unam.mx
text   : unsubscribe pgsql-ayuda