Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions t/001_history_replication.pl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
use PostgreSQL::Test::Utils;
use Test::More;

# Skip on PostgreSQL < 15: the Custom WAL Resource Manager API
# (RegisterCustomRmgr) was introduced in PG 15.
my ($pg_major) = (`pg_config --version` =~ /(\d+)/);
plan skip_all => "this test requires PostgreSQL 15 or later"
if $pg_major < 15;

# Set up primary
my $primary = PostgreSQL::Test::Cluster->new('primary');
$primary->init(allows_streaming => 1);
Expand Down
Loading