On 2/26/23 16:11, jack...@gmail.com wrote: > > yes, So it should be 32 bytes not 28bytes, but the sql result is 28 > !!!!!! that's false!!!!
No. The tuple is 28 bytes long, and that's what's stored in lp_len. But we align the start of the tuple to a multiple of 8 bytes. So it's at offset 8160 because that's the closest multiple of 8. Then there's 28 bytes of data and then 4 empty bytes. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company