|
| 1 | +/*------------------------------------------------------------------------- |
| 2 | + * |
| 3 | + * disable_core_macro.h |
| 4 | + * Support including tuplesort.c from postgresql core code. |
| 5 | + * |
| 6 | + * Copyright (c) 2022, Postgres Professional |
| 7 | + * |
| 8 | + *------------------------------------------------------------------------- |
| 9 | + */ |
| 10 | + |
| 11 | +#ifndef__DISABLE_CORE_MACRO_H__ |
| 12 | +#define__DISABLE_CORE_MACRO_H__ |
| 13 | + |
| 14 | +#undef TRACE_SORT |
| 15 | +#undef DEBUG_BOUNDED_SORT |
| 16 | +#undef TRACE_POSTGRESQL_SORT_START |
| 17 | +#undef TRACE_POSTGRESQL_SORT_DONE |
| 18 | + |
| 19 | +#defineTRACE_POSTGRESQL_SORT_START(arg1,arg2,arg3,arg4,arg5,arg6) \ |
| 20 | +do {} while(0) |
| 21 | +#defineTRACE_POSTGRESQL_SORT_DONE(arg1,arg2) \ |
| 22 | +do {} while(0) |
| 23 | + |
| 24 | +#endif/* __DISABLE_CORE_MACRO_H__ */ |