6565 shared_preload_libraries = 'ptrack'
6666 ptrack.map_size = 16
6767 wal_level = 'replica'
68+ autovacuum = 'off'
6869} );
6970
7071$node -> start;
@@ -119,9 +120,9 @@ BEGIN
119120
120121# select the pagecount sums and compare them (should be equal)
121122my $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 ';" );
123124my $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 ';" );
125126
126127is($pagecount_sum_cfs , $pagecount_sum_no_cfs , " pagecount sums don't match" );
127128
@@ -137,9 +138,9 @@ BEGIN
137138
138139# select the pagecount sums and compare them (again, they should be equal)
139140$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 ';" );
141142$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 ';" );
143144
144145is($pagecount_sum_cfs , $pagecount_sum_no_cfs , " pagecount sums don't match" );
145146
0 commit comments