Skip to content

Commit f4ddae0

Browse files
committed
Add alternate expected output for pg_buffercache with 4-node cluster
Update expected output to match standard demo cluster with 1 coordinator + 3 primaries: gp_buffercache_summary returns 4 rows and buffer count matches shared_buffers * primary_count.
1 parent 8f47803 commit f4ddae0

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

contrib/pg_buffercache/expected/pg_buffercache.out

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ SELECT count(*) = (select setting::bigint
5050
FROM gp_buffercache;
5151
buffers
5252
---------
53-
f
53+
t
5454
(1 row)
5555

5656
SELECT buffers_used + buffers_unused > 0,
@@ -61,7 +61,9 @@ FROM gp_buffercache_summary;
6161
----------+----------+----------
6262
t | t | t
6363
t | t | t
64-
(2 rows)
64+
t | t | t
65+
t | t | t
66+
(4 rows)
6567

6668
SELECT buffers_used + buffers_unused > 0,
6769
buffers_dirty <= buffers_used,
@@ -146,7 +148,9 @@ SELECT buffers_used + buffers_unused > 0 FROM gp_buffercache_summary;
146148
----------
147149
t
148150
t
149-
(2 rows)
151+
t
152+
t
153+
(4 rows)
150154

151155
SELECT buffers_used + buffers_unused > 0 FROM gp_buffercache_summary_aggregated;
152156
?column?

0 commit comments

Comments
 (0)