1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

pageinspect: Add test for page_header function

This commit is contained in:
Peter Eisentraut
2017-03-17 09:23:39 -04:00
parent aa7464d949
commit a02731cb10
2 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,8 @@ SELECT octet_length(get_raw_page('test1', 'xxx', 0));
SELECT get_raw_page('test1', 0) = get_raw_page('test1', 'main', 0);
SELECT pagesize, version FROM page_header(get_raw_page('test1', 0));
SELECT tuple_data_split('test1'::regclass, t_data, t_infomask, t_infomask2, t_bits)
FROM heap_page_items(get_raw_page('test1', 0));