diff -U3 /Users/admin/pgsql/contrib/pageinspect/expected/btree.out /Users/admin/pgsql/build/testrun/pageinspect/regress/results/btree.out --- /Users/admin/pgsql/contrib/pageinspect/expected/btree.out 2026-01-18 20:16:33 +++ /Users/admin/pgsql/build/testrun/pageinspect/regress/results/btree.out 2026-01-18 20:21:02 @@ -148,23 +148,25 @@ ERROR: block number 7 is out of range DROP TABLE test2; SELECT * FROM bt_page_items('test1_a_idx', -1); -ERROR: invalid block number -1 +ERROR: function bt_page_items(unknown, integer) does not exist +LINE 1: SELECT * FROM bt_page_items('test1_a_idx', -1); + ^ +DETAIL: No function of that name accepts the given number of arguments. SELECT * FROM bt_page_items('test1_a_idx', 0); -ERROR: block 0 is a meta page +ERROR: function bt_page_items(unknown, integer) does not exist +LINE 1: SELECT * FROM bt_page_items('test1_a_idx', 0); + ^ +DETAIL: No function of that name accepts the given number of arguments. SELECT * FROM bt_page_items('test1_a_idx', 1); --[ RECORD 1 ]----------------------- -itemoffset | 1 -ctid | (0,1) -itemlen | 16 -nulls | f -vars | f -data | 01 00 00 00 00 00 00 01 -dead | f -htid | (0,1) -tids | - +ERROR: function bt_page_items(unknown, integer) does not exist +LINE 1: SELECT * FROM bt_page_items('test1_a_idx', 1); + ^ +DETAIL: No function of that name accepts the given number of arguments. SELECT * FROM bt_page_items('test1_a_idx', 2); -ERROR: block number 2 is out of range +ERROR: function bt_page_items(unknown, integer) does not exist +LINE 1: SELECT * FROM bt_page_items('test1_a_idx', 2); + ^ +DETAIL: No function of that name accepts the given number of arguments. SELECT * FROM bt_page_items(get_raw_page('test1_a_idx', -1)); ERROR: invalid block number SELECT * FROM bt_page_items(get_raw_page('test1_a_idx', 0)); @@ -190,7 +192,10 @@ SELECT bt_page_stats('test1_a_hash', 0); ERROR: "test1_a_hash" is not a btree index SELECT bt_page_items('test1_a_hash', 0); -ERROR: "test1_a_hash" is not a btree index +ERROR: function bt_page_items(unknown, integer) does not exist +LINE 1: SELECT bt_page_items('test1_a_hash', 0); + ^ +DETAIL: No function of that name accepts the given number of arguments. SELECT bt_page_items(get_raw_page('test1_a_hash', 0)); ERROR: block is a meta page CREATE INDEX test1_b_gist ON test1 USING gist(b);