You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-14 23:44:58 +02:00
Fixed an issue where WAL was not expired on PostgreSQL 10.
This was caused by a faulty regex that expected all PostgreSQL major versions to be X.X. Reported by Adam Brusselback.
This commit is contained in:
@ -219,7 +219,7 @@ sub run
|
||||
$strDescription = 'Upgrade the stanza, create full back - earliest db orphaned archive removed and earliest full backup ' .
|
||||
'and archive in previous db version removed';
|
||||
|
||||
$oExpireTest->stanzaUpgrade($self->stanza(), PG_VERSION_95);
|
||||
$oExpireTest->stanzaUpgrade($self->stanza(), PG_VERSION_10);
|
||||
$oExpireTest->backupCreate($self->stanza(), CFGOPTVAL_BACKUP_TYPE_FULL, $lBaseTime += SECONDS_PER_DAY);
|
||||
$oExpireTest->process($self->stanza(), 2, undef, CFGOPTVAL_BACKUP_TYPE_FULL, undef, $strDescription);
|
||||
|
||||
|
Reference in New Issue
Block a user