Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-odbcpgsql-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

Responses

pgsql-hackers by date

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

pgsql-odbc by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group