mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Remove non-functional code for unloading loadable modules.
The code for unloading a library has been commented-out for over 12
years, ever since commit 602a9ef5a7
, and we're
no closer to supporting it now than we were back then.
Nathan Bossart, reviewed by Michael Paquier and by me.
Discussion: http://postgr.es/m/Ynsc9bRL1caUSBSE@paquier.xyz
This commit is contained in:
@ -33,7 +33,6 @@ static check_password_hook_type prev_check_password_hook = NULL;
|
||||
#define MIN_PWD_LENGTH 8
|
||||
|
||||
extern void _PG_init(void);
|
||||
extern void _PG_fini(void);
|
||||
|
||||
/*
|
||||
* check_password
|
||||
@ -149,13 +148,3 @@ _PG_init(void)
|
||||
prev_check_password_hook = check_password_hook;
|
||||
check_password_hook = check_password;
|
||||
}
|
||||
|
||||
/*
|
||||
* Module unload function
|
||||
*/
|
||||
void
|
||||
_PG_fini(void)
|
||||
{
|
||||
/* uninstall hook */
|
||||
check_password_hook = prev_check_password_hook;
|
||||
}
|
||||
|
Reference in New Issue
Block a user