Fix missing undefine in sort_template.h
authorJohn Naylor <john.naylor@postgresql.org>
Mon, 31 Jan 2022 19:53:34 +0000 (14:53 -0500)
committerJohn Naylor <john.naylor@postgresql.org>
Mon, 31 Jan 2022 20:10:01 +0000 (15:10 -0500)
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

index b84b20627f86b24691cdc24098dbf75bfa0f4c6e..3122a93009a3c078bdf2fd97a87269bee7e81acc 100644 (file)
@@ -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