1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-12-01 22:30:09 +02:00

PostgreSQL 11 Beta 1 support.

This commit is contained in:
David Steele
2018-06-05 08:59:17 -04:00
parent e57840d739
commit d309a85b51
9 changed files with 31 additions and 4 deletions

View File

@@ -67,6 +67,7 @@ my $oWalMagicHash =
hex('0xD087') => PG_VERSION_95,
hex('0xD093') => PG_VERSION_96,
hex('0xD097') => PG_VERSION_10,
hex('0xD098') => PG_VERSION_11,
};
####################################################################################################################################

View File

@@ -63,6 +63,10 @@ my $oPgControlVersionHash =
{
201707211 => PG_VERSION_10,
},
1100 =>
{
201804191 => PG_VERSION_11,
},
};
####################################################################################################################################

View File

@@ -47,6 +47,8 @@ use constant PG_VERSION_96 => '9.6';
push @EXPORT, qw(PG_VERSION_96);
use constant PG_VERSION_10 => '10';
push @EXPORT, qw(PG_VERSION_10);
use constant PG_VERSION_11 => '11';
push @EXPORT, qw(PG_VERSION_11);
use constant PG_VERSION_APPLICATION_NAME => PG_VERSION_90;
push @EXPORT, qw(PG_VERSION_APPLICATION_NAME);
@@ -66,7 +68,7 @@ sub versionSupport
my ($strOperation) = logDebugParam(__PACKAGE__ . '->versionSupport');
my @strySupportVersion = (PG_VERSION_83, PG_VERSION_84, PG_VERSION_90, PG_VERSION_91, PG_VERSION_92, PG_VERSION_93,
PG_VERSION_94, PG_VERSION_95, PG_VERSION_96, PG_VERSION_10);
PG_VERSION_94, PG_VERSION_95, PG_VERSION_96, PG_VERSION_10, PG_VERSION_11);
# Return from function and log return values if any
return logDebugReturn