Enable 9.6 support

pull/858/head
Andres Freund 2016-03-12 18:38:57 -08:00 committed by Jason Petersen
parent d4950ea510
commit cf88cc1ef4
No known key found for this signature in database
GPG Key ID: 9F1D3510D110ABA9
3 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@ -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

View File

@ -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])

View File

@ -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");
}