65
65
shared_preload_libraries = 'ptrack'
66
66
ptrack.map_size = 16
67
67
wal_level = 'replica'
68
+ autovacuum = 'off'
68
69
} );
69
70
70
71
$node -> start;
@@ -119,9 +120,9 @@ BEGIN
119
120
120
121
# select the pagecount sums and compare them (should be equal)
121
122
my $pagecount_sum_cfs = $node -> safe_psql(' postgres' ,
122
- " select sum(pagecount) from ptrack_get_pagemapset('$init_lsn '::pg_lsn) where path like '%$cfs_relpath % ';" );
123
+ " select sum(pagecount) from ptrack_get_pagemapset('$init_lsn '::pg_lsn) where path like '%$cfs_relpath ';" );
123
124
my $pagecount_sum_no_cfs = $node -> safe_psql(' postgres' ,
124
- " select sum(pagecount) from ptrack_get_pagemapset('$init_lsn '::pg_lsn) where path like '%$no_cfs_relpath % ';" );
125
+ " select sum(pagecount) from ptrack_get_pagemapset('$init_lsn '::pg_lsn) where path like '%$no_cfs_relpath ';" );
125
126
126
127
is($pagecount_sum_cfs , $pagecount_sum_no_cfs , " pagecount sums don't match" );
127
128
@@ -137,9 +138,9 @@ BEGIN
137
138
138
139
# select the pagecount sums and compare them (again, they should be equal)
139
140
$pagecount_sum_cfs = $node -> safe_psql(' postgres' ,
140
- " select sum(pagecount) from ptrack_get_pagemapset('$init_lsn '::pg_lsn) where path like '%$cfs_relpath % ';" );
141
+ " select sum(pagecount) from ptrack_get_pagemapset('$init_lsn '::pg_lsn) where path like '%$cfs_relpath ';" );
141
142
$pagecount_sum_no_cfs = $node -> safe_psql(' postgres' ,
142
- " select sum(pagecount) from ptrack_get_pagemapset('$init_lsn '::pg_lsn) where path like '%$no_cfs_relpath % ';" );
143
+ " select sum(pagecount) from ptrack_get_pagemapset('$init_lsn '::pg_lsn) where path like '%$no_cfs_relpath ';" );
143
144
144
145
is($pagecount_sum_cfs , $pagecount_sum_no_cfs , " pagecount sums don't match" );
145
146
0 commit comments