1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-25 22:12:03 +02:00

Add missing PostgreSQL 11 control/WAL versions in Perl tests.

These values don't seem to be used for testing but better to be tidy.
This commit is contained in:
David Steele
2019-09-27 09:45:11 -04:00
parent d6a6d93a04
commit 80eb561caf

View File

@@ -287,6 +287,7 @@ sub dbControlVersion
&PG_VERSION_95 => 942, &PG_VERSION_95 => 942,
&PG_VERSION_96 => 960, &PG_VERSION_96 => 960,
&PG_VERSION_10 => 1002, &PG_VERSION_10 => 1002,
&PG_VERSION_11 => 1100,
}; };
if (!defined($hControlVersion->{$strPgVersion})) if (!defined($hControlVersion->{$strPgVersion}))
@@ -441,6 +442,7 @@ sub walGenerateContent
&PG_VERSION_95 => hex('0xD087'), &PG_VERSION_95 => hex('0xD087'),
&PG_VERSION_96 => hex('0xD093'), &PG_VERSION_96 => hex('0xD093'),
&PG_VERSION_10 => hex('0xD097'), &PG_VERSION_10 => hex('0xD097'),
&PG_VERSION_11 => hex('0xD098'),
}; };
my $tWalContent = pack('S', $hWalMagic->{$strPgVersion}); my $tWalContent = pack('S', $hWalMagic->{$strPgVersion});