Re: Large queries - again... - Mailing list pgsql-hackers

From Steve Howe
Subject Re: Large queries - again...
Date
Msg-id 003401c11142$50943b10$7e31b0c8@angla
Whole thread Raw
In response to Large queries - again...  ("Steve Howe" <howe@carcass.dhs.org>)
Responses Re: Large queries - again...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hello Tom,
       Nope, I'm 100% sure that the libpq.dll used is the one I just
compiled. And I never installed an older libpq.dll on this system.       My application loads specifically the
libpq.dllI compiled (I use
 
the full library path on the call to LoadLibrary() call, so there is no way
it is an older library.       Eduardo Stern from dbExperts (http://www.dbexperts.com.br), a
PostgreSQL specialized consulting company, got the same results.       The ODBC driver, however, do not suffer from the
sameproblem, once
 
it does not use libpq.       Maybe I should write a C sample that proves libpq under windows has
this bug ???

Best Regards,
Steve Howe

----- 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 12:35 PM
Subject: Re: [HACKERS] Large queries - again...


> "Steve Howe" <howe@carcass.dhs.org> writes:
> >         I downloaded the PostgreSQL v7.12 sources, compiled libpq.dll
using
> > Microsoft's Visual C++ 6.0, and tried sending a large query.
> >         The problem is, when the query is > 8192 large, a NULL pointer
is
> > returned from PQexec().
>
> It sure sounds to me like you are invoking an old (6.5 or before) libpq.
> Perhaps you should check around to see if there are multiple libpq.dll
> files on your system ...
>
> regards, tom lane
>



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG (fixed) in CREATE TABLE ADD CONSTRAINT...(v-7.0.2)
Next
From: Tom Lane
Date:
Subject: Re: C functions