Thread: libpq.dll (Win32) for rel. 7.3.2 missing some exports

libpq.dll (Win32) for rel. 7.3.2 missing some exports

From
"Karl Waclawek"
Date:
Just wanted to report this:

The libpqdll.def (MS VC++) and blibpq.dll (Borland) DEF files
are missing entries for the exported functions PQunescapeBytea(),
PQfeeMem() and PQsendSome(), thus they won't be included in the Dll.
This is for the CVS - HEAD version of these files.

Karl



Re: libpq.dll (Win32) for rel. 7.3.2 missing some exports

From
Bruce Momjian
Date:
Karl Waclawek wrote:
> Just wanted to report this:
> 
> The libpqdll.def (MS VC++) and blibpq.dll (Borland) DEF files
> are missing entries for the exported functions PQunescapeBytea(),
> PQfeeMem() and PQsendSome(), thus they won't be included in the Dll.
> This is for the CVS - HEAD version of these files.

Good catch --- I added PQunescapeBytea(), which should have been fixed
in 7.3, and PQfeeMem(), which is new for 7.4.  pqSendSome() is static,
and I don't see a PQsendSome().

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 



Re: libpq.dll (Win32) for rel. 7.3.2 missing some exports

From
Tom Lane
Date:
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> and I don't see a PQsendSome().

There was one in 7.3, but I removed it last week because it was
undocumented and not usefully different from PQflush.
        regards, tom lane



Re: libpq.dll (Win32) for rel. 7.3.2 missing some exports

From
"Karl Waclawek"
Date:

> Karl Waclawek wrote:
> > Just wanted to report this:
> > 
> > The libpqdll.def (MS VC++) and blibpq.dll (Borland) DEF files
> > are missing entries for the exported functions PQunescapeBytea(),
> > PQfeeMem() and PQsendSome(), thus they won't be included in the Dll.
> > This is for the CVS - HEAD version of these files.
> 
> Good catch --- I added PQunescapeBytea(), which should have been fixed
> in 7.3, and PQfeeMem(), which is new for 7.4.  pqSendSome() is static,
> and I don't see a PQsendSome().

There was a PQsendSome() in libpq-fe.h rev. 1.91, but it was taken out in
the latest revision 1.92, although it still exists in fe-exec.c.
Sorry, my mistake.

Karl