Why the lp_len is 28 not 32?

From: "jacktby(at)gmail(dot)com" <jacktby(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Why the lp_len is 28 not 32?
Date: 2023-02-26 14:35:07
Message-ID: 2023022622350728749215@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

use these sqls below:
create table t(a int);
insert into t values(1);
select lp,lp_off,lp_len,t_data from heap_page_items(get_raw_page('t',0));
lp | lp_off | lp_len | t_data
----+--------+--------+------------
1 | 8160 | 28 | \x01000000
--------------------------------------------------------------------------------
jacktby(at)gmail(dot)com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2023-02-26 14:59:41 Re: Add LZ4 compression in pg_dump
Previous Message jacktby@gmail.com 2023-02-26 14:30:56 Give me more details of some bits in infomask!!