mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
Fix typo in test comment.
This commit is contained in:
@ -292,7 +292,7 @@ SELECT s.stxkind, d.stxdndistinct
|
|||||||
{d,f,m} | {"3, 4": 2550, "3, 6": 800, "4, 6": 1632, "3, 4, 6": 5000}
|
{d,f,m} | {"3, 4": 2550, "3, 6": 800, "4, 6": 1632, "3, 4, 6": 5000}
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
-- correct esimates
|
-- correct estimates
|
||||||
SELECT * FROM check_estimated_rows('SELECT COUNT(*) FROM ndistinct GROUP BY a, b');
|
SELECT * FROM check_estimated_rows('SELECT COUNT(*) FROM ndistinct GROUP BY a, b');
|
||||||
estimated | actual
|
estimated | actual
|
||||||
-----------+--------
|
-----------+--------
|
||||||
|
@ -201,7 +201,7 @@ SELECT s.stxkind, d.stxdndistinct
|
|||||||
WHERE s.stxrelid = 'ndistinct'::regclass
|
WHERE s.stxrelid = 'ndistinct'::regclass
|
||||||
AND d.stxoid = s.oid;
|
AND d.stxoid = s.oid;
|
||||||
|
|
||||||
-- correct esimates
|
-- correct estimates
|
||||||
SELECT * FROM check_estimated_rows('SELECT COUNT(*) FROM ndistinct GROUP BY a, b');
|
SELECT * FROM check_estimated_rows('SELECT COUNT(*) FROM ndistinct GROUP BY a, b');
|
||||||
|
|
||||||
SELECT * FROM check_estimated_rows('SELECT COUNT(*) FROM ndistinct GROUP BY a, b, c');
|
SELECT * FROM check_estimated_rows('SELECT COUNT(*) FROM ndistinct GROUP BY a, b, c');
|
||||||
|
Reference in New Issue
Block a user