Update execTuples.cpp

This commit is contained in:
ljh0804 2023-09-06 20:27:48 +08:00
parent c986f2fecc
commit bd5ccf49db
1 changed files with 23 additions and 26 deletions

View File

@ -1,20 +1,17 @@
/* -------------------------------------------------------------------------
*
* execTuples.cpp
* Routines dealing with TupleTableSlots. These are used for resource
* management associated with tuples (eg, releasing buffer pins for
* tuples in disk buffers, or freeing the memory occupied by transient
* tuples). Slots also provide access abstraction that lets us implement
* "virtual" tuples to reduce data-copying overhead.
* TupleTableSlots的例程
*
* 访使
*
* Routines dealing with the type information for tuples. Currently,
* the type information for a tuple is an array of FormData_pg_attribute.
* This information is needed by routines manipulating tuples
* (getattribute, formtuple, etc.).
*
* FormData_pg_attribute的数组
* getattributeformtuple等
*
* Portions Copyright (c) 2020 Huawei Technologies Co.,Ltd.
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* c2020
* c1996-2012PostgreSQL全球发展集团
* c1994
*
*
* IDENTIFICATION
@ -24,22 +21,22 @@
* INTERFACE ROUTINES
*
* SLOT CREATION/DESTRUCTION
* MakeTupleTableSlot - create an empty slot
* ExecAllocTableSlot - create a slot within a tuple table
* ExecResetTupleTable - clear and optionally delete a tuple table
* MakeSingleTupleTableSlot - make a standalone slot, set its descriptor
* ExecDropSingleTupleTableSlot - destroy a standalone slot
* MakeTupleTableSlot -
* ExecAllocTableSlot -
* ExecResetTupleTable -
* MakeSingleTupleTableSlot -
* ExecDropSingleTupleTableSlot -
*
* SLOT ACCESSORS
* ExecSetSlotDescriptor - set a slot's tuple descriptor
* ExecStoreTuple - store a physical tuple in the slot
* ExecStoreMinimalTuple - store a minimal physical tuple in the slot
* ExecClearTuple - clear contents of a slot
* ExecStoreVirtualTuple - mark slot as containing a virtual tuple
* ExecCopySlotTuple - build a physical tuple from a slot
* ExecCopySlotMinimalTuple - build a minimal physical tuple from a slot
* ExecMaterializeSlot - convert virtual to physical storage
* ExecCopySlot - copy one slot's contents to another
* ExecSetSlotDescriptor -
* ExecStoreTuple -
* ExecStoreMinimalTuple -
* ExecClearTuple -
* ExecStoreVirtualTuple - slot标记为包含虚拟元组
* ExecCopySlotTuple -
* ExecCopySlotMinimalTuple -
* ExecMaterializeSlot -
* ExecCopySlot -
*
* CONVENIENCE INITIALIZATION ROUTINES
* ExecInitResultTupleSlot \ convenience routines to initialize