mirror of
https://github.com/postgres/postgres.git
synced 2025-12-16 16:42:29 +03:00
Please apply the following patch to fix problems with the AIX port
and the fmgr redesign. It makes the homebrewn dl*() functions for more recent Versions of AIX obsolete by using the system dl*() functions instead. It also fixes the expected file for the horology regression test. Please regenerate configure from configure.in, I don't have the environment/time. Andreas
This commit is contained in:
@@ -14,6 +14,13 @@
|
||||
#include "postgres.h"
|
||||
#include "dynloader.h"
|
||||
|
||||
#ifndef HAVE_DLOPEN
|
||||
|
||||
/*
|
||||
* AIX 4.3 and up has dlopen() and friends in -ldl.
|
||||
* A la long, the homebrewn dl*() functions below should be obsolete.
|
||||
*/
|
||||
|
||||
/*
|
||||
* We simulate dlopen() et al. through a call to load. Because AIX has
|
||||
* no call to find an exported symbol we read the loader section of the
|
||||
@@ -601,3 +608,5 @@ findMain(void)
|
||||
free(buf);
|
||||
return ret;
|
||||
}
|
||||
|
||||
#endif /* HAVE_DLOPEN */
|
||||
|
||||
Reference in New Issue
Block a user