1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Provisional support for PostgreSQL 9.5. No support for archive_mode = 'always' or .partial WAL on a standby.

This commit is contained in:
David Steele 2016-01-09 10:11:03 -05:00
parent c8f863fbab
commit e72165a689
6 changed files with 19 additions and 11 deletions

View File

@ -5,6 +5,8 @@ __No Release Date Set__
* Fixed an issue where specifying `--no-archive-check` would throw a configuration error. _Reported by Jason O'Donnell_.
* Provisional support for PostgreSQL 9.5. No support for `archive_mode = 'always'` or `.partial` WAL on a standby.
## v0.89: Timeout Bug Fix and Restore Read-Only Repositories
__Released December 24, 2015__

View File

@ -11,6 +11,9 @@
<release-feature>
<text>Fixed an issue where specifying <setting>--no-archive-check</setting> would throw a configuration error. <i>Reported by Jason O'Donnell</i>.</text>
</release-feature>
<release-feature>
<text>Provisional support for <postgres/> 9.5. No support for <setting>archive_mode = 'always'</setting> or <file>.partial</file> WAL on a standby.</text>
</release-feature>
</release-feature-bullet-list>
</changelog-release>

View File

@ -23,7 +23,7 @@ vagrant up
vagrant ssh
</code-block>
<p>The <code>vagrant up</code> step could take some time as a number of Docker containers must also be built. The <code>vagrant up</code> command automatically logs onto the VM.</p>
<p>The <code>vagrant up</code> command may take some time as a number of Docker containers must also be built. The <code>vagrant ssh</code> command automatically logs onto the VM.</p>
<code-block title="Run All Tests">
/backrest/test/test.pl

View File

@ -452,15 +452,14 @@ sub info
close($hFile);
# Make sure the control version is supported
if ($iControlVersion == 942 && $iCatalogVersion == 201409291)
{
$fDbVersion = '9.4';
}
# Leave 9.5 catalog version out until it stabilizes (then move 9.5 to the top of the list)
elsif ($iControlVersion == 942) # && $iCatalogVersion == 201505311)
if ($iControlVersion == 942 && $iCatalogVersion == 201510051)
{
$fDbVersion = '9.5';
}
elsif ($iControlVersion == 942 && $iCatalogVersion == 201409291)
{
$fDbVersion = '9.4';
}
elsif ($iControlVersion == 937 && $iCatalogVersion == 201306121)
{
$fDbVersion = '9.3';

View File

@ -18,7 +18,7 @@ cd test
vagrant up
vagrant ssh
```
The `vagrant up` step could take some time as a number of Docker containers must also be built. The `vagrant up` command automatically logs onto the VM.
The `vagrant up` command may take some time as a number of Docker containers must also be built. The `vagrant ssh` command automatically logs onto the VM.
_Run All Tests_:
```

View File

@ -274,7 +274,8 @@ sub containerBuild
"RUN rpm -ivh http://yum.postgresql.org/9.1/redhat/rhel-6-x86_64/pgdg-centos91-9.1-4.noarch.rpm\n" .
"RUN rpm -ivh http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-centos92-9.2-6.noarch.rpm\n" .
"RUN rpm -ivh http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm\n" .
"RUN rpm -ivh http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.noarch.rpm";
"RUN rpm -ivh http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.noarch.rpm\n" .
"RUN rpm -ivh http://yum.postgresql.org/9.5/redhat/rhel-6-x86_64/pgdg-centos95-9.5-2.noarch.rpm";
}
elsif ($strOS eq OS_CO7)
{
@ -294,7 +295,7 @@ sub containerBuild
$strImage .=
"RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ " .
($strOS eq OS_U12 ? 'precise' : 'trusty') .
"-pgdg main 9.5' >> /etc/apt/sources.list.d/pgdg.list\n" .
"-pgdg main' >> /etc/apt/sources.list.d/pgdg.list\n" .
"RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -\n" .
"RUN apt-get update";
}
@ -386,7 +387,8 @@ sub containerBuild
"RUN yum -y install postgresql91-server\n" .
"RUN yum -y install postgresql92-server\n" .
"RUN yum -y install postgresql93-server\n" .
"RUN yum -y install postgresql94-server";
"RUN yum -y install postgresql94-server\n" .
"RUN yum -y install postgresql95-server";
}
elsif ($strOS eq OS_CO7)
{
@ -398,6 +400,8 @@ sub containerBuild
elsif ($strOS eq OS_U12)
{
$strImage .=
"RUN apt-get install -y postgresql-9.5\n" .
"RUN pg_dropcluster --stop 9.5 main\n" .
"RUN apt-get install -y postgresql-9.4\n" .
"RUN pg_dropcluster --stop 9.4 main\n" .
"RUN apt-get install -y postgresql-9.3\n" .