You've already forked pgbackrest
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:
@@ -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,
|
||||
};
|
||||
|
||||
####################################################################################################################################
|
||||
|
||||
@@ -63,6 +63,10 @@ my $oPgControlVersionHash =
|
||||
{
|
||||
201707211 => PG_VERSION_10,
|
||||
},
|
||||
1100 =>
|
||||
{
|
||||
201804191 => PG_VERSION_11,
|
||||
},
|
||||
};
|
||||
|
||||
####################################################################################################################################
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user