1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-09-16 09:06:18 +02:00

Remove support for PostgreSQL 8.3.

This commit is contained in:
David Steele
2017-06-21 17:24:36 -04:00
parent 73274fc608
commit cc0e3f843e
7 changed files with 13 additions and 12 deletions

View File

@@ -76,9 +76,9 @@ File and directory links are supported for any file or directory in the PostgreS
pgBackRest repositories can be stored on Amazon S3 to allow for virtually unlimited capacity and retention.
### Compatibility with PostgreSQL >= 8.3
### Compatibility with PostgreSQL >= 8.4
pgBackRest includes support for versions down to 8.3, since older versions of PostgreSQL are still regularly utilized.
pgBackRest includes support for versions down to 8.4, since older versions of PostgreSQL are still regularly utilized.
## Getting Started

View File

@@ -131,9 +131,9 @@
</section>
<section id="postgres-compatibility">
<title>Compatibility with <postgres/> >= 8.3</title>
<title>Compatibility with <postgres/> >= 8.4</title>
<p><backrest/> includes support for versions down to 8.3, since older versions of PostgreSQL are still regularly utilized.</p>
<p><backrest/> includes support for versions down to 8.4, since older versions of PostgreSQL are still regularly utilized.</p>
</section>
</section>

View File

@@ -160,6 +160,8 @@
<release-list>
<release date="XXXX-XX-XX" version="1.20dev" title="UNDER DEVELOPMENT">
<release-core-list>
<p><b>IMPORTANT NOTE</b>: Support for <postgres/> 8.3 has been removed in this release as no currently supported systems include it.</p>
<release-refactor-list>
<release-item>
<p>Harden protocol handshake to handle race conditions.</p>
@@ -176,6 +178,10 @@
<release-item>
<p>Rename <code>Archive</code> modules to remove redundancy.</p>
</release-item>
<release-item>
<p>Remove support for <postgres/> 8.3.</p>
</release-item>
</release-refactor-list>
</release-core-list>

View File

@@ -48,7 +48,6 @@ use constant PG_WAL_SEGMENT_SIZE => 16777216;
####################################################################################################################################
my $oWalMagicHash =
{
hex('0xD062') => PG_VERSION_83,
hex('0xD063') => PG_VERSION_84,
hex('0xD064') => PG_VERSION_90,
hex('0xD066') => PG_VERSION_91,

View File

@@ -41,7 +41,6 @@ use constant DB_BACKUP_ADVISORY_LOCK => '12340078
my $oPgControlVersionHash =
{
# iControlVersion => {iCatalogVersion => strDbVersion}
833 => {200711281 => PG_VERSION_83},
843 => {200904091 => PG_VERSION_84},
903 =>
{

View File

@@ -27,8 +27,6 @@ use constant PG_WAL_SIZE => 16777216;
####################################################################################################################################
# PostgreSQL version numbers
####################################################################################################################################
use constant PG_VERSION_83 => '8.3';
push @EXPORT, qw(PG_VERSION_83);
use constant PG_VERSION_84 => '8.4';
push @EXPORT, qw(PG_VERSION_84);
use constant PG_VERSION_90 => '9.0';
@@ -63,8 +61,8 @@ sub versionSupport
# Assign function parameters, defaults, and log debug info
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);
my @strySupportVersion = (
PG_VERSION_84, PG_VERSION_90, PG_VERSION_91, PG_VERSION_92, PG_VERSION_93, PG_VERSION_94, PG_VERSION_95, PG_VERSION_96);
# Return from function and log return values if any
return logDebugReturn

View File

@@ -187,7 +187,6 @@ my $oyVm =
&VM_DB =>
[
PG_VERSION_83,
PG_VERSION_84,
PG_VERSION_90,
PG_VERSION_91,
@@ -200,7 +199,7 @@ my $oyVm =
&VM_DB_MINIMAL =>
[
PG_VERSION_83,
PG_VERSION_84,
],
},