From 5f88f9bc04ba30e3ff631a9464d4be237328b726 Mon Sep 17 00:00:00 2001 From: Julien Rouhaud Date: Fri, 11 May 2018 23:32:12 +0200 Subject: [PATCH] Have hypopg_reset() reset both index and table entries. --- hypopg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hypopg.c b/hypopg.c index 3eed965..bee7a1b 100644 --- a/hypopg.c +++ b/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(); }