Received: from rm-rstar.sfu.ca (root@rm-rstar.sfu.ca [142.58.120.21]) by hub.org (8.9.2/8.9.1) with ESMTP id SAA89826 for ; Wed, 3 Mar 1999 18:50:05 -0500 (EST) (envelope-from gburnham@sfu.ca) Received: from apemantus (apemantus.educ.sfu.ca [142.58.6.61]) by rm-rstar.sfu.ca (8.9.1/8.9.1/SFU-5.0H) with SMTP id PAA18719 for ; Wed, 3 Mar 1999 15:50:04 -0800 (PST) Message-ID: <006a01be65d0$91870320$3d063a8e@educ.sfu.ca> From: "Gregory W Burnham" To: Subject: Broken Pipe Date: Wed, 3 Mar 1999 15:50:07 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.0810.800 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 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