Difference between HeapTupleData and TupleTableSlot structures

From: Ajay P S <ajayps547(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Difference between HeapTupleData and TupleTableSlot structures
Date: 2022-10-08 02:26:21
Message-ID: CAHjjAw3Ja=DXUEH2zO1Hp8POCDsKk89u02Fc0pAC-Zoe_vTnUA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I am pretty new to the Postgres code base. I would like to know the
difference between HeapTupleData and TupleTableSlot structures.

Basically I am trying to understand some of the table access methods like
heap_insert, heap_getnext, heap_getnextslot etc where some accepts
Heaptuple as input and some accepts TupleTableSlot.

Could anyone please help me to understand this? Any example would also be
helpful.

Best,
Ajay

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-10-08 02:56:33 Re: START_REPLICATION SLOT causing a crash in an assert build
Previous Message Ranier Vilela 2022-10-08 01:50:13 Re: Avoid mix char with bool type in comparisons