diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2018-09-06 10:07:24 +0200 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2018-09-06 11:33:04 +0200 |
commit | 842cb9fa62fc99598086166bdeec9d6ae6e3c50f (patch) | |
tree | a1c3c19d6d8eb66fd1b162fcf616e711ea2cafd1 /src/backend/port/dynloader/hpux.h | |
parent | ac27c74def5d8544530b13d5901308a342f072ac (diff) | |
download | postgresql-842cb9fa62fc99598086166bdeec9d6ae6e3c50f.tar.gz postgresql-842cb9fa62fc99598086166bdeec9d6ae6e3c50f.zip |
Refactor dlopen() support
Nowadays, all platforms except Windows and older HP-UX have standard
dlopen() support. So having a separate implementation per platform
under src/backend/port/dynloader/ is a bit excessive. Instead, treat
dlopen() like other library functions that happen to be missing
sometimes and put a replacement implementation under src/port/.
Discussion: https://www.postgresql.org/message-id/flat/e11a49cb-570a-60b7-707d-7084c8de0e61%402ndquadrant.com#54e735ae37476a121abb4e33c2549b03
Diffstat (limited to 'src/backend/port/dynloader/hpux.h')
-rw-r--r-- | src/backend/port/dynloader/hpux.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/backend/port/dynloader/hpux.h b/src/backend/port/dynloader/hpux.h deleted file mode 100644 index 1cbc46960e2..00000000000 --- a/src/backend/port/dynloader/hpux.h +++ /dev/null @@ -1,25 +0,0 @@ -/*------------------------------------------------------------------------- - * - * dynloader.h - * dynamic loader for HP-UX using the shared library mechanism - * - * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group - * Portions Copyright (c) 1994, Regents of the University of California - * - * - * IDENTIFICATION - * src/backend/port/dynloader/hpux.h - * - * NOTES - * all functions are defined here -- it's impossible to trace the - * shl_* routines from the bundled HP-UX debugger. - * - *------------------------------------------------------------------------- - */ -/* System includes */ -#include "fmgr.h" - -extern void *pg_dlopen(const char *filename); -extern PGFunction pg_dlsym(void *handle, const char *funcname); -extern void pg_dlclose(void *handle); -extern char *pg_dlerror(void); |