Re: [PATCHES] Fix for ODBC close

From: Nick Gorham <nick(at)lurcher(dot)org>
To: pgman(at)candle(dot)pha(dot)pa(dot)us
Cc: pgsql-odbc(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] Fix for ODBC close
Date: 2001-02-10 18:25:27
Message-ID: 3A858797.69E64E17@lurcher.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc pgsql-patches

pgman(at)candle(dot)pha(dot)pa(dot)us wrote:

> 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.
>
> My 'ld' manual says:
>
> -Bsymbolic
> When creating a shared library, bind references to
> global symbols to the definition within the shared
> library, if any. Normally, it is possible for a
> program linked against a shared library to override
> the definition within the shared library. This op-
> tion is only meaningful on ELF platforms which sup-
> port shared libraries.

Hmm,

removing that may break it when running under a driver manager though...

I will check of FreeBSD, it certainly will on Linux ELF.

--
Nick Gorham
When I die, I want to go like my grandfather did, gently while sleeping,
and not like his passangers, screaming in a panic, looking for the
inflatable raft. -- Seen on ./

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-02-10 18:42:31 Re: Re: [PATCHES] Fix for ODBC close
Previous Message Peter Eisentraut 2001-02-10 18:09:23 Re: Re: [PATCHES] Fix for ODBC close

Browse pgsql-odbc by date

  From Date Subject
Next Message Bruce Momjian 2001-02-10 18:42:31 Re: Re: [PATCHES] Fix for ODBC close
Previous Message László Tibor 2001-02-10 18:15:56 RE: [INTERFACES] 7.1 beta 3 Linux ODBC BEGIN Behaviour

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-02-10 18:42:31 Re: Re: [PATCHES] Fix for ODBC close
Previous Message Peter Eisentraut 2001-02-10 18:09:23 Re: Re: [PATCHES] Fix for ODBC close