diff --git a/gpcontrib/pxf_fdw/pxf_fragment.c b/gpcontrib/pxf_fdw/pxf_fragment.c index 47a73c49ff3..30fbb377ab6 100644 --- a/gpcontrib/pxf_fdw/pxf_fragment.c +++ b/gpcontrib/pxf_fdw/pxf_fragment.c @@ -5,7 +5,7 @@ #include "cdb/cdbtm.h" #include "cdb/cdbvars.h" #include "commands/copy.h" -#if (PG_VERSION_NUM <= 140000) +#if (PG_VERSION_NUM >= 140000) #include "commands/copyfrom_internal.h" #endif #include "common/jsonapi.h"