Re: Large queries - again...

From: "Steve Howe" <howe(at)carcass(dot)dhs(dot)org>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Large queries - again...
Date: 2001-07-20 17:35:05
Message-ID: 003401c11142$50943b10$7e31b0c8@angla
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.dll I 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 same problem, 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(at)sss(dot)pgh(dot)pa(dot)us>
To: "Steve Howe" <howe(at)carcass(dot)dhs(dot)org>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Sent: Friday, July 20, 2001 12:35 PM
Subject: Re: [HACKERS] Large queries - again...

> "Steve Howe" <howe(at)carcass(dot)dhs(dot)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
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-07-20 17:42:45 Re: Large queries - again...
Previous Message Lamar Owen 2001-07-20 16:51:24 Re: RPM source files should be in CVS (was Re: psql -l)