Re: Re: Give me more details of some bits in infomask!!

2023-02-26 Thread David G. Johnston
On Sun, Feb 26, 2023 at 8:36 AM jack...@gmail.com wrote: > > CID means "command ID" i.e. sequential ID assigned to commands in a > > single session (for visibility checks, so that a query doesn't see data > > deleted by earlier commands in the same session). See > > src/backend/utils/time/comboci

Re: Re: Give me more details of some bits in infomask!!

2023-02-26 Thread jack...@gmail.com
From: Tomas Vondra Date: 2023-02-26 23:23 To: jack...@gmail.com; pgsql-hackers Subject: Re: Give me more details of some bits in infomask!! On 2/26/23 15:30, jack...@gmail.com wrote: > here are the source codes from src/include/access/htup_details.h. > /* > * information stored in t

Re: Give me more details of some bits in infomask!!

2023-02-26 Thread Tomas Vondra
On 2/26/23 15:30, jack...@gmail.com wrote: > here are the source codes from src/include/access/htup_details.h. > /* >  * information stored in t_infomask: >  */ > #define HEAP_HASNULL0x0001/* has null attribute(s) */ > #define HEAP_HASVARWIDTH0x0002/* has variable-width attribute(s) */ > #define HE

Give me more details of some bits in infomask!!

2023-02-26 Thread jack...@gmail.com
here are the source codes from src/include/access/htup_details.h. /* * information stored in t_infomask: */ #define HEAP_HASNULL 0x0001 /* has null attribute(s) */ #define HEAP_HASVARWIDTH 0x0002 /* has variable-width attribute(s) */ #define HEAP_HASEXTERNAL 0x0004 /* has external stored attribut