From 3547eeeb6f94053f49c0de335541a2903a2c3681 Mon Sep 17 00:00:00 2001 From: gindibay Date: Mon, 9 Oct 2023 16:05:07 +0300 Subject: [PATCH] Adds PG_VERSION_15 constant --- src/backend/distributed/deparser/citus_deparseutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/distributed/deparser/citus_deparseutils.c b/src/backend/distributed/deparser/citus_deparseutils.c index 3efca8575..265988b46 100644 --- a/src/backend/distributed/deparser/citus_deparseutils.c +++ b/src/backend/distributed/deparser/citus_deparseutils.c @@ -7,6 +7,7 @@ #include "utils/syscache.h" #include "utils/typcache.h" #include "distributed/deparser.h" +#include "distributed/pg_version_constants.h" void @@ -35,7 +36,7 @@ handleOption(StringInfo buf, DefElem *option, const struct option_format *opt_fo bool value = defGetBoolean(option); appendStringInfo(buf, opt_formats[i].format, value ? "true" : "false"); } -#if PG_VERSION_NUM >= 150000 +#if PG_VERSION_NUM >= PG_VERSION_15 else if (strcmp(opt_formats[i].type, "object_id") == 0) { Oid value = defGetObjectId(option);