Skip to content

Commit bf0a84c

Browse files
committed
Use more specific macro for previous cbbf906.
1 parent cbbf906 commit bf0a84c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/include/compat/pg_compat.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include "commands/trigger.h"
2727
#include "executor/executor.h"
2828
#include "nodes/memnodes.h"
29+
#include "nodes/nodeFuncs.h"
2930
#if PG_VERSION_NUM >= 120000
3031
#include "nodes/pathnodes.h"
3132
#else
@@ -994,11 +995,11 @@ extern AttrNumber *convert_tuples_by_name_map(TupleDesc indesc,
994995

995996
/*
996997
* [PGPRO-3725] Since 11.7 and 12.1 in pgpro standard and ee PGPRO-2843
997-
* appeared, changing the signature, wow. It is not present in pgpro 1c
998-
* though; PG_VERSION_STR is defined in std and ee but not in 1c, so it is
999-
* hackishly used for distinguishing them.
998+
* appeared, changing the signature, wow. There is no numeric pgpro edition
999+
* macro (and never will be, for old versions), so distinguish via macro added
1000+
* by the commit.
10001001
*/
1001-
#if defined(PGPRO_VERSION_STR) && (PG_VERSION_NUM >= 110006)
1002+
#ifdef QTW_DONT_COPY_DEFAULT
10021003
#define expression_tree_mutator_compat(node, mutator, context) \
10031004
expression_tree_mutator((node), (mutator), (context), 0)
10041005
#else

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