Skip to content

Commit a1850e4

Browse files
committed
per review command, let's pg_stat_get_tuples_hot_updated rework
1 parent 2140c23 commit a1850e4

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/oracle_test/regress/expected/stats.out

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,12 @@ SELECT wait_for_hot_stats();
15101510

15111511
(1 row)
15121512

1513-
-- SELECT pg_stat_get_tuples_hot_updated('brin_hot'::regclass::oid);
1513+
SELECT pg_stat_get_tuples_hot_updated('brin_hot'::regclass::oid);
1514+
pg_stat_get_tuples_hot_updated
1515+
--------------------------------
1516+
1
1517+
(1 row)
1518+
15141519
DROP TABLE brin_hot;
15151520
DROP FUNCTION wait_for_hot_stats();
15161521
-- Test handling of index predicates - updating attributes in precicates

src/oracle_test/regress/sql/stats.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ UPDATE brin_hot SET val = -3 WHERE id = 42;
790790
\c -
791791

792792
SELECT wait_for_hot_stats();
793-
-- SELECT pg_stat_get_tuples_hot_updated('brin_hot'::regclass::oid);
793+
SELECT pg_stat_get_tuples_hot_updated('brin_hot'::regclass::oid);
794794

795795
DROP TABLE brin_hot;
796796
DROP FUNCTION wait_for_hot_stats();

0 commit comments

Comments
 (0)