summaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorNathan Bossart2023-11-27 19:10:09 +0000
committerNathan Bossart2023-11-27 19:10:09 +0000
commit75680c3d805e2323cd437ac567f0677fdfc7b680 (patch)
tree128ccf542f551a44e526a55ad2b031eb5daa710e /src/include/utils
parent8a553f2aed8dfe6cb8cdd0fe78e01b19d4138b35 (diff)
Retire a few backwards compatibility macros.
As of commits dd04e958c8 and 1833f1a1c3, tuplestore_donestoring(), SPI_push(), SPI_pop(), SPI_push_conditional(), SPI_pop_conditional(), and SPI_restore_connection() are no-op macros provided for backwards compatibility. This commit removes these macros, so any uses in third-party code will need to be removed, too. Since these macros have been no-ops for a while, such adjustments won't produce any behavior changes for all currently-supported versions of PostgreSQL. Author: Bharath Rupireddy Discussion: https://postgr.es/m/CALj2ACVeO58JM5tK2Qa8QC-%3DkC8sdkJOTd4BFU%3DK8zs4gGYpjQ%40mail.gmail.com
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/tuplestore.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/utils/tuplestore.h b/src/include/utils/tuplestore.h
index 1077c5fdeaa..d4fbcbd96c5 100644
--- a/src/include/utils/tuplestore.h
+++ b/src/include/utils/tuplestore.h
@@ -56,9 +56,6 @@ extern void tuplestore_puttuple(Tuplestorestate *state, HeapTuple tuple);
extern void tuplestore_putvalues(Tuplestorestate *state, TupleDesc tdesc,
const Datum *values, const bool *isnull);
-/* Backwards compatibility macro */
-#define tuplestore_donestoring(state) ((void) 0)
-
extern int tuplestore_alloc_read_pointer(Tuplestorestate *state, int eflags);
extern void tuplestore_select_read_pointer(Tuplestorestate *state, int ptr);