mirror of
https://github.com/postgres/postgres.git
synced 2025-05-11 05:41:32 +03:00
Fix typo in test comment.
This commit is contained in:
parent
1122a903e9
commit
f81167adbf
@ -272,7 +272,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
|
||||||
-----------+--------
|
-----------+--------
|
||||||
|
@ -188,7 +188,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');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user