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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: "Craig Stratton" <craig(at)avnet(dot)co(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: pqReadData() -- read() failed: errno=32
Date: 2003-12-18 15:59:52
Message-ID: 20008.1071763192@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Richard Huxton <dev(at)archonet(dot)com> writes:
> On Thursday 18 December 2003 12:23, Craig Stratton wrote:
>> I can find no reference to errno=32 in the mailing lists.

> From memory and google, it's a broken pipe,

It would be a good idea to check in /usr/include/errno.h before
assuming that 32 means EPIPE on a Cobalt. I'm a bit suspicious
of that because I can't imagine why read() would return EPIPE.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron St-Pierre 2003-12-18 16:09:40 Re: Function Returning SETOF Problem
Previous Message Tom Lane 2003-12-18 15:25:10 Re: BLOBS : how to remove them totally