Re: [PATCHES] Fix for ODBC close - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCHES] Fix for ODBC close
Date
Msg-id Pine.LNX.4.30.0102101025260.775-100000@peter.localdomain
Whole thread Raw
In response to Fix for ODBC close  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [PATCHES] Fix for ODBC close  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian writes:

> I have applied the following patch to properly exit ODBC.  I also
> patched the ODBC makefile so it links under BSD/OS.  The -Bsymbolic
> under BSD/OS is very harsh under BSD/OS, requiring all symbols even in
> libc and crt1.o to be resolved before creating the shared library.

The -Bsymbolic switch is the same on all platforms that have it.  You can
link without it, but then you won't actually be able to use the ODBC
driver.  It seems like you need to link in a few other libraries to
resolve all symbols.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: RE: Re: pg_ctl default shutdown mode
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Fix for ODBC close