Skip to content

Commit 0526f2f

Browse files
committed
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
1 parent b426bd4 commit 0526f2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/include/lib/sort_template.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ ST_SORT(ST_ELEMENT_TYPE * data, size_t n
407407
#undef DO_SORT
408408
#undef DO_SWAP
409409
#undef DO_SWAPN
410+
#undef ST_CHECK_FOR_INTERRUPTS
410411
#undef ST_COMPARATOR_TYPE_NAME
411412
#undef ST_COMPARE
412413
#undef ST_COMPARE_ARG_TYPE

0 commit comments

Comments
 (0)