From: | "Gregory W Burnham" <gburnham(at)sfu(dot)ca> |
---|---|
To: | <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Broken Pipe |
Date: | 1999-03-03 23:50:07 |
Message-ID: | 006a01be65d0$91870320$3d063a8e@educ.sfu.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Valerio Santinelli | 1999-03-04 10:01:54 | Re: [INTERFACES] Foreign Keys |
Previous Message | Michael Davis | 1999-03-03 21:51:14 | RE: [INTERFACES] Postgres to MS-Word? (Kind of off topic) |