From b3d52c433246c674b24e11457ee6205624b0f052 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 17 May 2022 19:56:48 +0900 Subject: [PATCH] shared library: remove redundant code This has never actually served any purpose; see core commit ab02d702ef. --- repmgr.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/repmgr.c b/repmgr.c index 16a21b82..299cc00d 100644 --- a/repmgr.c +++ b/repmgr.c @@ -84,7 +84,6 @@ static shmem_startup_hook_type prev_shmem_startup_hook = NULL; void _PG_init(void); -void _PG_fini(void); static void repmgr_shmem_startup(void); @@ -133,17 +132,6 @@ _PG_init(void) } -/* - * Module unload callback - */ -void -_PG_fini(void) -{ - /* Uninstall hook */ - shmem_startup_hook = prev_shmem_startup_hook; -} - - /* * shmem_startup hook: allocate or attach to shared memory, */