----- Original Message -----
From: "Tom Lane" <[EMAIL PROTECTED]>
To: "Steve Howe" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 5:17 PM
Subject: Re: [HACKERS] Large queries - again...


> "Steve Howe" <[EMAIL PROTECTED]> writes:
> >         It returns "Error: pqReadData() --  read() failed: errno=0 No
error
> > " as expected when a nil pointer is returned.
>
> "As expected"?  That's not what I'd expect, especially not for a
> behavior that's dependent on the size of an *outgoing* message.
It is expected, because it's the default message when a PQexec() query
returns NULL: pqReadData() will return nothing yet no error is signed.
Of course, the "really expected" would be a sucessfull exec :-)

> (Thinks for awhile...)  You're not using PQsetnonblocking() are you,
> by any chance?
No, I'm not. Asynchronous libpq connections on Windows are still not
realiable (althought I read someone submitted a patch recently), so I'm
keeping synchronous queries for a while. I'm not also using any non-standard
functions; just plain PQconnectdb() and PQexec()...

Best Regards,
Steve


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to