diff options
author | Robert Haas <rhaas@postgresql.org> | 2022-05-11 15:27:33 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2022-05-11 15:30:30 -0400 |
commit | ab02d702ef08343fba30d90fdf7df5950063e8c9 (patch) | |
tree | 598702d234a64298236fc7ab028b256c18b766fa /src/backend/utils/fmgr/fmgr.c | |
parent | 78ccd6cca48dab098fcce62528c2b471f7a0010a (diff) | |
download | postgresql-ab02d702ef08343fba30d90fdf7df5950063e8c9.tar.gz postgresql-ab02d702ef08343fba30d90fdf7df5950063e8c9.zip |
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
Diffstat (limited to 'src/backend/utils/fmgr/fmgr.c')
-rw-r--r-- | src/backend/utils/fmgr/fmgr.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/backend/utils/fmgr/fmgr.c b/src/backend/utils/fmgr/fmgr.c index b2e72b3243f..a9dd068095b 100644 --- a/src/backend/utils/fmgr/fmgr.c +++ b/src/backend/utils/fmgr/fmgr.c @@ -582,20 +582,6 @@ record_C_func(HeapTuple procedureTuple, entry->inforec = inforec; } -/* - * clear_external_function_hash: remove entries for a library being closed - * - * Presently we just zap the entire hash table, but later it might be worth - * the effort to remove only the entries associated with the given handle. - */ -void -clear_external_function_hash(void *filehandle) -{ - if (CFuncHash) - hash_destroy(CFuncHash); - CFuncHash = NULL; -} - /* * Copy an FmgrInfo struct |