pgsql: Modernize dlopen interface code for FreeBSD and OpenBSD. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Modernize dlopen interface code for FreeBSD and OpenBSD.
Date
Msg-id E1Q7ufv-0000dF-DK@gemulon.postgresql.org
Whole thread Raw
List 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/73d9a908140e709b4cb12a8d2257a11baaec974f

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Modernize dlopen interface code for FreeBSD and OpenBSD.
Next
From: Tom Lane
Date:
Subject: pgsql: Modernize dlopen interface code for FreeBSD and OpenBSD.