I'm using Postgres 6.3.2 (I know, I know 6.4.2 is out,
I'll upgrade as soon as this #$%&*! project is over)
running on RedHat 5.1.
I'm getting 'Broken Pipe' returned from the following snippet:
___________________________________________________
if (idNum != 0){
int lo_fd = 0;
lo_fd = lo_open(conn, idNum, INV_READ);
lo_read(conn, lo_fd, buffer, bufferSize);
lo_close(conn, lo_fd);
}
___________________________________________________
The pipe breaks in various places, but always in this
section. This is part of a loop, and it seems to
always happen the 4th time through. And yes, it's
with differant Oids.
Any ideas? Solutions? Cyanide?
Gregory W Burnham
Software Engineer
Excite Labs
Simon Fraser University
Vancouver, BC
V5A 1S6
604 291 3615 ph
604 291 5679 fx