From 901bb505ba4e2c7952692a1ff0c2870a594902b8 Mon Sep 17 00:00:00 2001 From: Goutam Tadi Date: Thu, 30 Nov 2017 17:18:02 -0800 Subject: [PATCH] Fix: Set value of PG_VERSION Signed-off-by: Larry Hamel --- configure | 1 + configure.in | 1 + 2 files changed, 2 insertions(+) diff --git a/configure b/configure index 58f4ef5fd3..cdfd736b96 100755 --- a/configure +++ b/configure @@ -3055,6 +3055,7 @@ cat >>confdefs.h <<_ACEOF _ACEOF +PG_VERSION="$PG_PACKAGE_VERSION" pgac_args="$pgac_args with_extra_version" diff --git a/configure.in b/configure.in index 59358de872..d40b49bfc5 100644 --- a/configure.in +++ b/configure.in @@ -38,6 +38,7 @@ AC_SUBST(configure_args, [$ac_configure_args]) AC_SUBST(PG_MAJORVERSION) AC_DEFINE_UNQUOTED(PG_MAJORVERSION, "$PG_MAJORVERSION", [PostgreSQL major version as a string]) +[PG_VERSION="$PG_PACKAGE_VERSION"] dnl Greenplum co-opts the --with-extra-version value to append to Only the Greenplum version PGAC_ARG_REQ(with, extra-version, [STRING], [append STRING to version], [], []) AC_DEFINE_UNQUOTED(PG_VERSION, "$PG_PACKAGE_VERSION", [Postgres version Greenplum Database is based on]) -- GitLab