From cdab237c11c98dc81dbe7bdfb2c07a80e0336640 Mon Sep 17 00:00:00 2001 From: Rafia Sabih Date: Mon, 5 Aug 2024 10:26:53 +0200 Subject: [PATCH] Compatibility fix for PG17 (#20) Reported and fixed by: Devrim Gunduz Co-authored-by: rafia sabih --- pg_auth_mon.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pg_auth_mon.c b/pg_auth_mon.c index 0d16180..4bdad3c 100644 --- a/pg_auth_mon.c +++ b/pg_auth_mon.c @@ -519,12 +519,10 @@ pg_auth_mon_internal(PG_FUNCTION_ARGS, pgauthmonVersion api_version) LWLockRelease(auth_mon_lock); - /* clean up and return the tuplestore */ - tuplestore_donestoring(tupstore); - rsinfo->returnMode = SFRM_Materialize; rsinfo->setResult = tupstore; rsinfo->setDesc = tupdesc; return (Datum) 0; -} \ No newline at end of file +} +