mirror of
https://github.com/HypoPG/hypopg
synced 2026-05-24 09:38:21 +00:00
Have hypopg_reset() reset both index and table entries.
This commit is contained in:
parent
315ca98f7b
commit
5f88f9bc04
1 changed files with 2 additions and 1 deletions
3
hypopg.c
3
hypopg.c
|
|
@ -370,11 +370,12 @@ hypo_set_rel_pathlist_hook(PlannerInfo *root,
|
|||
|
||||
|
||||
/*
|
||||
* Reset statistics.
|
||||
* Reset all stored entries.
|
||||
*/
|
||||
Datum
|
||||
hypopg_reset(PG_FUNCTION_ARGS)
|
||||
{
|
||||
hypo_index_reset();
|
||||
hypo_table_reset();
|
||||
PG_RETURN_VOID();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue