Skip to content

Commit fc3b03b

Browse files
committed
Fix TRACE_START redefinition in PG10 -
1 parent 7197b83 commit fc3b03b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/disable_core_macro.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,18 @@
1616
#undef TRACE_POSTGRESQL_SORT_START
1717
#undef TRACE_POSTGRESQL_SORT_DONE
1818

19+
#if PG_VERSION_NUM >= 110000
1920
#define TRACE_POSTGRESQL_SORT_START(arg1, arg2, arg3, arg4, arg5, arg6) \
2021
do {} while(0)
22+
#else
23+
#define TRACE_POSTGRESQL_SORT_START(arg1, arg2, arg3, arg4, arg5) \
24+
do {} while(0)
25+
#endif
26+
27+
2128
#define TRACE_POSTGRESQL_SORT_DONE(arg1, arg2) \
2229
do {} while(0)
2330

31+
32+
2433
#endif /* __DISABLE_CORE_MACRO_H__ */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy