aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Naylor <john.naylor@postgresql.org>2022-01-31 14:53:34 -0500
committerJohn Naylor <john.naylor@postgresql.org>2022-01-31 15:10:01 -0500
commit0526f2f4c38cb50d3e2a6e0aa5d51354158df6e3 (patch)
treeaa43dd7bb6ca1ce54e9a94afbe71b8a8b35afbdd /src
parentb426bd48ee3f5a6890038421f81df7ed919d73dc (diff)
downloadpostgresql-0526f2f4c38cb50d3e2a6e0aa5d51354158df6e3.tar.gz
postgresql-0526f2f4c38cb50d3e2a6e0aa5d51354158df6e3.zip
Fix missing undefine in sort_template.h
All parameter macros are supposed to be undefined at the end of the header. ST_CHECK_FOR_INTERRUPTS was forgotten, so could affect later inclusions. Thomas Munro The patch set of which this is a part is discussed in https://www.postgresql.org/message-id/CA%2BhUKGLPommgNw-SVwUGkw1YmTDwmJ5vSKO0kFnZfbRHtNFW5w%40mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/include/lib/sort_template.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/lib/sort_template.h b/src/include/lib/sort_template.h
index b84b20627f8..3122a93009a 100644
--- a/src/include/lib/sort_template.h
+++ b/src/include/lib/sort_template.h
@@ -407,6 +407,7 @@ loop:
#undef DO_SORT
#undef DO_SWAP
#undef DO_SWAPN
+#undef ST_CHECK_FOR_INTERRUPTS
#undef ST_COMPARATOR_TYPE_NAME
#undef ST_COMPARE
#undef ST_COMPARE_ARG_TYPE