mirror of
https://github.com/HypoPG/hypopg
synced 2026-05-24 09:38:21 +00:00
Remove _PG_fini().
Postgres hasn't called this function for more than a decade (even before extensions were introduced), and version 15 officially removes it so let's get rid of it too.
This commit is contained in:
parent
8005133cd4
commit
edd5211d39
1 changed files with 0 additions and 12 deletions
12
hypopg.c
12
hypopg.c
|
|
@ -55,7 +55,6 @@ static bool oid_wraparound = false;
|
|||
/*--- Functions --- */
|
||||
|
||||
PGDLLEXPORT void _PG_init(void);
|
||||
PGDLLEXPORT void _PG_fini(void);
|
||||
|
||||
PGDLLEXPORT Datum hypopg_reset(PG_FUNCTION_ARGS);
|
||||
|
||||
|
|
@ -160,17 +159,6 @@ _PG_init(void)
|
|||
EmitWarningsOnPlaceholders("hypopg");
|
||||
}
|
||||
|
||||
void
|
||||
_PG_fini(void)
|
||||
{
|
||||
/* uninstall hooks */
|
||||
ProcessUtility_hook = prev_utility_hook;
|
||||
ExecutorEnd_hook = prev_ExecutorEnd_hook;
|
||||
get_relation_info_hook = prev_get_relation_info_hook;
|
||||
explain_get_index_name_hook = prev_explain_get_index_name_hook;
|
||||
|
||||
}
|
||||
|
||||
/*---------------------------------
|
||||
* Return a new OID for an hypothetical index.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue