mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
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
This commit is contained in:
@ -321,13 +321,6 @@ sub GenerateFiles
|
||||
'src/include/storage/lwlocknames.h');
|
||||
}
|
||||
|
||||
if (IsNewer(
|
||||
'src/include/dynloader.h', 'src/backend/port/dynloader/win32.h'))
|
||||
{
|
||||
copyFile('src/backend/port/dynloader/win32.h',
|
||||
'src/include/dynloader.h');
|
||||
}
|
||||
|
||||
if (IsNewer('src/include/utils/probes.h', 'src/backend/utils/probes.d'))
|
||||
{
|
||||
print "Generating probes.h...\n";
|
||||
|
Reference in New Issue
Block a user