PQescapeString and PQescapeBytea not exported during win 32 build

Started by Rob Butleralmost 24 years ago2 messagesbugs
Jump to latest
#1Rob Butler
rob_butler@hotmail.com

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

#2Bruce Momjian
bruce@momjian.us
In reply to: Rob Butler (#1)
Re: PQescapeString and PQescapeBytea not exported during win

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

Attachments:

/bjm/difftext/plainDownload+2-0