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.
This commit is contained in:
Georgy Shelkovy 2023-11-29 10:42:30 +05:00 committed by GitHub
parent 4520a493c8
commit 5593f82f17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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