Fix for ODBC close

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL odbc list <pgsql-odbc(at)postgresql(dot)org>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Fix for ODBC close
Date: 2001-02-10 05:46:26
Message-ID: 200102100546.AAA13833@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc pgsql-patches

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.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Attachment Content-Type Size
unknown_filename text/plain 1.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-02-10 06:02:21 Re: [HACKERS] Open 7.1 items
Previous Message Tom Lane 2001-02-10 04:35:44 Re: [HACKERS] Re: Open 7.1 items

Browse pgsql-odbc by date

  From Date Subject
Next Message Bruce Momjian 2001-02-10 06:32:10 Re: [HACKERS] 6.2 protocol
Previous Message Bruce Momjian 2001-02-10 02:55:12 Link problems

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-02-10 06:02:21 Re: [HACKERS] Open 7.1 items
Previous Message Tom Lane 2001-02-10 04:35:44 Re: [HACKERS] Re: Open 7.1 items