From 5593f82f1726126dc8f586ca341a2e81fd7d564b Mon Sep 17 00:00:00 2001 From: Georgy Shelkovy Date: Wed, 29 Nov 2023 10:42:30 +0500 Subject: [PATCH] Pg 17 support (#83) tuplestore_donestoring() has been a no-op for a very long time (way before any version we support), and now that upstream removed the compatibility macro (see commit 75680c3d8) let's remove it too. --- hypopg_index.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/hypopg_index.c b/hypopg_index.c index f8c7a23..ac3b05e 100644 --- a/hypopg_index.c +++ b/hypopg_index.c @@ -1289,9 +1289,6 @@ hypopg(PG_FUNCTION_ARGS) tuplestore_putvalues(tupstore, tupdesc, values, nulls); } - /* clean up and return the tuplestore */ - tuplestore_donestoring(tupstore); - return (Datum) 0; } @@ -1371,9 +1368,6 @@ hypopg_create_index(PG_FUNCTION_ARGS) i++; } - /* clean up and return the tuplestore */ - tuplestore_donestoring(tupstore); - return (Datum) 0; } @@ -1719,9 +1713,6 @@ hypopg_hidden_indexes(PG_FUNCTION_ARGS) tuplestore_putvalues(tupstore, tupdesc, values, nulls); } - /* clean up and return the tuplestore */ - tuplestore_donestoring(tupstore); - return (Datum) 0; }