pgsql: Modernize dlopen interface code for FreeBSD and OpenBSD.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Modernize dlopen interface code for FreeBSD and OpenBSD.
Date: 2011-04-07 19:15:27
Message-ID: E1Q7ufv-0000dN-GV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Modernize dlopen interface code for FreeBSD and OpenBSD.

Remove the hard-wired assumption that __mips__ (and only __mips__) lacks
dlopen in FreeBSD and OpenBSD. This assumption is outdated at least for
OpenBSD, as per report from an anonymous 9.1 tester. We can perfectly well
use HAVE_DLOPEN instead to decide which code to use.

Some other cosmetic adjustments to make freebsd.c, netbsd.c, and openbsd.c
exactly alike.

Branch
------
REL8_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1de4b9afe66acf6dccd129cb0267e0496e938b0f

Modified Files
--------------
src/backend/port/dynloader/freebsd.c | 9 ++++-----
src/backend/port/dynloader/netbsd.c | 5 +++--
src/backend/port/dynloader/openbsd.c | 12 ++++++------
3 files changed, 13 insertions(+), 13 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-04-07 20:48:36 pgsql: Tweaks for SSI out-of-shared memory behavior.
Previous Message Tom Lane 2011-04-07 17:56:24 pgsql: Fix plpgsql's issues with dropped columns in rowtypes in 8.4 bra