git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b426bd4)
Fix missing undefine in sort_template.h
2022年1月31日 19:53:34 +0000 (14:53 -0500)
2022年1月31日 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


diff --git a/src/include/lib/sort_template.h b/src/include/lib/sort_template.h
index b84b20627f86b24691cdc24098dbf75bfa0f4c6e..3122a93009a3c078bdf2fd97a87269bee7e81acc 100644 (file)
--- 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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /