]> granicus.if.org Git - postgresql/commit
Modernize dlopen interface code for FreeBSD and OpenBSD.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Apr 2011 19:14:56 +0000 (15:14 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Apr 2011 19:14:56 +0000 (15:14 -0400)
commitec31cdeb885ed425872e4e75b187a1d222073a10
tree7adce4073b99d0b95e6a2fb5a4180176ad5393ab
parent9a9c7c2eb10b8df67c5652a6678a172b83a262eb
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.
src/backend/port/dynloader/freebsd.c
src/backend/port/dynloader/netbsd.c
src/backend/port/dynloader/openbsd.c