Обсуждение: pgsql: Modernize dlopen interface code for FreeBSD and OpenBSD.

Поиск
Список
Период
Сортировка

pgsql: Modernize dlopen interface code for FreeBSD and OpenBSD.

От
Tom Lane
Дата:
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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/bb3051e4c2d7b42516d55925edefb4934b902374

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(-)