mirror of https://github.com/citusdata/citus.git
Enable 9.6 support
parent
d4950ea510
commit
cf88cc1ef4
|
@ -1915,7 +1915,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" != '9.5'; then
|
||||
if test "$version_num" != '9.5' -a "$version_num" != '9.6'; 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
|
||||
|
|
|
@ -36,7 +36,7 @@ if test -z "$version_num"; then
|
|||
AC_MSG_ERROR([Could not detect PostgreSQL version from pg_config.])
|
||||
fi
|
||||
|
||||
if test "$version_num" != '9.5'; then
|
||||
if test "$version_num" != '9.5' -a "$version_num" != '9.6'; then
|
||||
AC_MSG_ERROR([Citus is not compatible with the detected PostgreSQL version ${version_num}.])
|
||||
else
|
||||
AC_MSG_NOTICE([building against PostgreSQL $version_num])
|
||||
|
|
|
@ -287,7 +287,7 @@ my @arguments = (
|
|||
'--user', $user
|
||||
);
|
||||
|
||||
if ($majorversion eq '9.5')
|
||||
if ($majorversion eq '9.5' || $majorversion eq '9.6')
|
||||
{
|
||||
push(@arguments, '--bindir', "tmp_check/tmp-bin");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue