Re: Large queries - again...
От | Steve Howe |
---|---|
Тема | Re: Large queries - again... |
Дата | |
Msg-id | 008e01c11165$6d4a27b0$7e31b0c8@angla обсуждение исходный текст |
Ответ на | Large queries - again... ("Steve Howe" <howe@carcass.dhs.org>) |
Ответы |
Re: Large queries - again...
Re: Large queries - again... |
Список | pgsql-hackers |
----- Original Message ----- From: "Tom Lane" <tgl@sss.pgh.pa.us> To: "Steve Howe" <howe@carcass.dhs.org> Cc: <pgsql-hackers@postgresql.org> Sent: Friday, July 20, 2001 5:17 PM Subject: Re: [HACKERS] Large queries - again... > "Steve Howe" <howe@carcass.dhs.org> 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
В списке pgsql-hackers по дате отправления: