Added distance filters to cost tests [skip ci]

This commit is contained in:
Andrew Kane
2024-09-28 14:50:23 -07:00
parent 5ee0471ead
commit 158d9340bc
2 changed files with 11 additions and 1 deletions

View File

@@ -39,6 +39,11 @@ for my $dim (@dims)
));
like($explain, qr/Index Scan using idx/);
$explain = $node->safe_psql("postgres", qq(
EXPLAIN ANALYZE SELECT i FROM tst WHERE v <-> '$query' < 1 ORDER BY v <-> '$query' LIMIT $limit;
));
like($explain, qr/Index Scan using idx/);
$node->safe_psql("postgres", "DROP TABLE tst;");
}