Have hypopg_reset() reset both index and table entries.

This commit is contained in:
Julien Rouhaud 2018-05-11 23:32:12 +02:00
parent 315ca98f7b
commit 5f88f9bc04

View file

@ -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();
}