From ab02d702ef08343fba30d90fdf7df5950063e8c9 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 11 May 2022 15:27:33 -0400 Subject: 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 602a9ef5a7c60151e10293ae3c4bb3fbb0132d03, 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 --- src/backend/postmaster/pgarch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/postmaster') diff --git a/src/backend/postmaster/pgarch.c b/src/backend/postmaster/pgarch.c index 0c8ca29f73d..8beff4a53cd 100644 --- a/src/backend/postmaster/pgarch.c +++ b/src/backend/postmaster/pgarch.c @@ -802,7 +802,7 @@ HandlePgArchInterrupts(void) * Ideally, we would simply unload the previous archive module and * load the new one, but there is presently no mechanism for * unloading a library (see the comment above - * internal_unload_library()). To deal with this, we simply restart + * internal_load_library()). To deal with this, we simply restart * the archiver. The new archive module will be loaded when the new * archiver process starts up. */ -- cgit v1.2.3