diff options
| author | Tom Lane | 2002-02-12 23:41:25 +0000 |
|---|---|---|
| committer | Tom Lane | 2002-02-12 23:41:25 +0000 |
| commit | fa046b6a92431a91f91a981bb2995e7091552477 (patch) | |
| tree | 8048a4ce16e41b2d344ed468457d55e3b9989e5f /src/backend/port/dynloader/aix.h | |
| parent | baa0bb97b0a6f40993a8e340b55b14c9317f60a1 (diff) | |
Use RTLD_NOW, not RTLD_LAZY, as binding mode for dlopen() on all platforms.
This restores the Linux behavior to what it was in PG 7.0 and 7.1, and
causes other platforms to agree. (Other well-tested platforms like HPUX
were doing it this way already.) Per pghackers discussion over the past
month or so.
Diffstat (limited to 'src/backend/port/dynloader/aix.h')
| -rw-r--r-- | src/backend/port/dynloader/aix.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/port/dynloader/aix.h b/src/backend/port/dynloader/aix.h index 69b5881ec48..3aee79731a2 100644 --- a/src/backend/port/dynloader/aix.h +++ b/src/backend/port/dynloader/aix.h @@ -1,5 +1,5 @@ /* - * $Id: aix.h,v 1.10 2001/11/08 20:37:52 momjian Exp $ + * $Id: aix.h,v 1.11 2002/02/12 23:39:46 tgl Exp $ * * @(#)dlfcn.h 1.4 revision of 95/04/25 09:36:52 * This is an unpublished work copyright (c) 1992 HELIOS Software GmbH @@ -57,7 +57,7 @@ int dlclose(); #include "utils/dynamic_loader.h" -#define pg_dlopen(f) dlopen((f), RTLD_LAZY | RTLD_GLOBAL) +#define pg_dlopen(f) dlopen((f), RTLD_NOW | RTLD_GLOBAL) #define pg_dlsym dlsym #define pg_dlclose dlclose #define pg_dlerror dlerror |
