mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
shared library: remove redundant code
This has never actually served any purpose; see core commit ab02d702ef.
This commit is contained in:
12
repmgr.c
12
repmgr.c
@@ -84,7 +84,6 @@ static shmem_startup_hook_type prev_shmem_startup_hook = NULL;
|
|||||||
|
|
||||||
|
|
||||||
void _PG_init(void);
|
void _PG_init(void);
|
||||||
void _PG_fini(void);
|
|
||||||
|
|
||||||
static void repmgr_shmem_startup(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,
|
* shmem_startup hook: allocate or attach to shared memory,
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user