mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Show empty BRIN ranges in brin_page_items
Commit 3581cbdcd6
added a flag to identify empty BRIN ranges. This adds
the new flag to brin_page_items() output.
This is kept as a separate commit as it should not be backpatched.
Reviewed-by: Justin Pryzby, Matthias van de Meent, Alvaro Herrera
Discussion: https://postgr.es/m/402430e4-7d9d-6cf1-09ef-464d80afff3b@enterprisedb.com
This commit is contained in:
@ -43,9 +43,9 @@ SELECT * FROM brin_revmap_data(get_raw_page('test1_a_idx', 1)) LIMIT 5;
|
||||
|
||||
SELECT * FROM brin_page_items(get_raw_page('test1_a_idx', 2), 'test1_a_idx')
|
||||
ORDER BY blknum, attnum LIMIT 5;
|
||||
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value
|
||||
------------+--------+--------+----------+----------+-------------+----------
|
||||
1 | 0 | 1 | f | f | f | {1 .. 1}
|
||||
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | value
|
||||
------------+--------+--------+----------+----------+-------------+-------+----------
|
||||
1 | 0 | 1 | f | f | f | f | {1 .. 1}
|
||||
(1 row)
|
||||
|
||||
-- Mask DETAIL messages as these are not portable across architectures.
|
||||
|
Reference in New Issue
Block a user