From 0526f2f4c38cb50d3e2a6e0aa5d51354158df6e3 Mon Sep 17 00:00:00 2001 From: John Naylor Date: Mon, 31 Jan 2022 14:53:34 -0500 Subject: [PATCH] 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 --- src/include/lib/sort_template.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/lib/sort_template.h b/src/include/lib/sort_template.h index b84b20627f..3122a93009 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 -- 2.30.2