mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Fix thinko in comments.
A slot can not be stored in a tuple but it's vice versa. Reported-by: Ashutosh Bapat Author: Ashutosh Bapat Reviewed-by: Amit Kapila Discussion: https://postgr.es/m/CAFjFpRcHhNhXdegyJv3KKDWrwO1_NB_KYZM_ZSDeMOZaL1A5jQ@mail.gmail.com
This commit is contained in:
@ -403,7 +403,7 @@ ExecSimpleRelationInsert(EState *estate, TupleTableSlot *slot)
|
||||
if (rel->rd_att->constr)
|
||||
ExecConstraints(resultRelInfo, slot, estate);
|
||||
|
||||
/* Store the slot into tuple that we can inspect. */
|
||||
/* Materialize slot into a tuple that we can scribble upon. */
|
||||
tuple = ExecMaterializeSlot(slot);
|
||||
|
||||
/* OK, store the tuple and create index entries for it */
|
||||
@ -468,7 +468,7 @@ ExecSimpleRelationUpdate(EState *estate, EPQState *epqstate,
|
||||
if (rel->rd_att->constr)
|
||||
ExecConstraints(resultRelInfo, slot, estate);
|
||||
|
||||
/* Store the slot into tuple that we can write. */
|
||||
/* Materialize slot into a tuple that we can scribble upon. */
|
||||
tuple = ExecMaterializeSlot(slot);
|
||||
|
||||
/* OK, update the tuple and index entries for it */
|
||||
|
Reference in New Issue
Block a user