1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-13 01:00:23 +02:00

PostgreSQL 18 experimental support.

Support is experimental since PostgreSQL 18 is still in development and has not released a beta, but it may be useful for testing.
This commit is contained in:
David Steele
2025-04-14 12:29:31 -05:00
committed by GitHub
parent 019e4cf8a7
commit 565d2e0c47
13 changed files with 235 additions and 14 deletions

View File

@ -35,6 +35,8 @@ use constant PG_VERSION_16 => '16';
push @EXPORT, qw(PG_VERSION_16);
use constant PG_VERSION_17 => '17';
push @EXPORT, qw(PG_VERSION_17);
use constant PG_VERSION_18 => '18';
push @EXPORT, qw(PG_VERSION_18);
####################################################################################################################################
# versionSupport
@ -47,7 +49,7 @@ sub versionSupport
my ($strOperation) = logDebugParam(__PACKAGE__ . '->versionSupport');
my @strySupportVersion = (PG_VERSION_95, PG_VERSION_96, PG_VERSION_10, PG_VERSION_11, PG_VERSION_12, PG_VERSION_13,
PG_VERSION_14, PG_VERSION_15, PG_VERSION_16, PG_VERSION_17);
PG_VERSION_14, PG_VERSION_15, PG_VERSION_16, PG_VERSION_17, PG_VERSION_18);
# Return from function and log return values if any
return logDebugReturn