diff --git a/configure b/configure index 5aae85490..7dfa8965e 100755 --- a/configure +++ b/configure @@ -2531,7 +2531,7 @@ if test -z "$version_num"; then as_fn_error $? "Could not detect PostgreSQL version from pg_config." "$LINENO" 5 fi -if test "$version_num" != '10' -a "$version_num" != '11'; then +if test "$version_num" != '10' -a "$version_num" != '11' -a "$version_num" != '12'; then as_fn_error $? "Citus is not compatible with the detected PostgreSQL version ${version_num}." "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: building against PostgreSQL $version_num" >&5 diff --git a/configure.in b/configure.in index 04675e2dd..136db4d8e 100644 --- a/configure.in +++ b/configure.in @@ -74,7 +74,7 @@ if test -z "$version_num"; then AC_MSG_ERROR([Could not detect PostgreSQL version from pg_config.]) fi -if test "$version_num" != '10' -a "$version_num" != '11'; then +if test "$version_num" != '10' -a "$version_num" != '11' -a "$version_num" != '12'; then AC_MSG_ERROR([Citus is not compatible with the detected PostgreSQL version ${version_num}.]) else AC_MSG_NOTICE([building against PostgreSQL $version_num])