Re: PQescapeString and PQescapeBytea not exported during win - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: PQescapeString and PQescapeBytea not exported during win
Date
Msg-id 200206022238.g52Mc2t12481@candle.pha.pa.us
Whole thread Raw
In response to PQescapeString and PQescapeBytea not exported during win 32 build  ("Rob Butler" <rob_butler@hotmail.com>)
List pgsql-bugs
Attached patch applied.  Let me know if this is incorrect.

---------------------------------------------------------------------------

Rob Butler wrote:
> Hello all,
>
> Simple "bug"
>
> Win 32 builds do not have PQescapeString or PQescapeBytea declared in the
> libpqdll.def file.  This causes linking against libpqdll.lib to fail if
> either of the functions are called within a program.  Add entries to the def
> file for these functions so they are exported during the win 32 build.
>
> Thanks
> Rob
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
Index: src/interfaces/libpq/libpqdll.def
===================================================================
RCS file: /cvsroot/pgsql/src/interfaces/libpq/libpqdll.def,v
retrieving revision 1.14
diff -c -r1.14 libpqdll.def
*** src/interfaces/libpq/libpqdll.def    6 Sep 2001 02:54:56 -0000    1.14
--- src/interfaces/libpq/libpqdll.def    2 Jun 2002 22:33:03 -0000
***************
*** 88,90 ****
--- 88,92 ----
      PQsetClientEncoding    @ 85
      PQsetnonblocking    @ 86
      PQfreeNotify        @ 87
+     PQescapeString        @ 88
+     PQescapeBytea        @ 89

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Bug #656: timestamp function generates parsing errors when
Next
From: Stephan Szabo
Date:
Subject: Re: BUG: mismatched parentheses