Fixed select with no data

This commit is contained in:
Andrew Kane
2023-08-15 23:25:28 -07:00
parent e8f36aee92
commit 2b138d6cb5
3 changed files with 13 additions and 4 deletions

View File

@@ -10,4 +10,7 @@ SELECT * FROM t ORDER BY val <-> '[3,3,3]';
SELECT * FROM t ORDER BY val <-> (SELECT NULL::vector);
SELECT COUNT(*) FROM t;
TRUNCATE t;
SELECT * FROM t ORDER BY val <-> '[3,3,3]';
DROP TABLE t;