pqReadData() -- read() failed: errno=32

From: "Craig Stratton" <craig(at)avnet(dot)co(dot)uk>
To: <pgsql-general(at)postgresql(dot)org>
Subject: pqReadData() -- read() failed: errno=32
Date: 2003-12-18 12:23:54
Message-ID: 001301c3c561$cec28520$0314a8c0@cpsws
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

cobalt 2.2.16
psql 7.2.3
DBI 1.32

I get this error, as in subject:-
pqReadData() -- read() failed: errno=32
and then followed by this
pqReadData() -- backend closed the channel unexpectedly.

I can find no reference to errno=32 in the mailing lists.

If i define and connect the database handle within the function that does my
processing, then i get no errors (but very slow processing due to connecting
on each event).

If i define and connect the database handle as a global variable outside of
the function, then i get that error on the first insert.

Any ideas ?

Craig

Responses

Browse pgsql-general by date

  From Date Subject
Next Message D. Dante Lorenso 2003-12-18 13:17:47 How to navigate tree without CONNECT BY?
Previous Message venkat j 2003-12-18 12:14:37 dblink_connect fails