Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e481f0e

Browse files
committed
Forgot to add new 'track_global_snapshots' option to postgres_fdw TAP tests.
(cherry picked from commit f18a8ae0e2a1b0a9065368c5bb57186fdf1ccf4b)
1 parent 97bffbc commit e481f0e

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

contrib/postgres_fdw/t/001_bank_check.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
$master->append_conf('postgresql.conf', qq(
1313
max_prepared_transactions = 30
1414
log_checkpoints = true
15+
track_global_snapshots = on
1516
postgres_fdw.use_global_snapshots = on
1617
postgres_fdw.use_twophase = on
1718
));

contrib/postgres_fdw/t/002_bank_check_self.pl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
$master->append_conf('postgresql.conf', qq(
1313
max_prepared_transactions = 30
1414
log_checkpoints = true
15+
track_global_snapshots = on
1516
postgres_fdw.use_global_snapshots = on
1617
postgres_fdw.use_twophase = on
1718
));
@@ -25,14 +26,6 @@
2526
));
2627
$shard1->start;
2728

28-
# my $shard2 = get_new_node("shard2");
29-
# $shard2->init;
30-
# $shard2->append_conf('postgresql.conf', qq(
31-
# max_prepared_transactions = 30
32-
# log_checkpoints = true
33-
# ));
34-
# $shard2->start;
35-
3629
###############################################################################
3730

3831
$master->psql('postgres', "CREATE EXTENSION postgres_fdw");

0 commit comments

Comments
 (0)