Modernize dlopen interface code for FreeBSD and OpenBSD.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/port/dynloader/freebsd.c | modified | +4 −5 |
| src/backend/port/dynloader/netbsd.c | modified | +3 −2 |
| src/backend/port/dynloader/openbsd.c | modified | +6 −6 |