Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5521e3b

Browse files
author
Amit Kapila
committed
Fix thinko in comments.
A slot can not be stored in a tuple but it's vice versa.Reported-by: Ashutosh BapatAuthor: Ashutosh BapatReviewed-by: Amit KapilaDiscussion:https://postgr.es/m/CAFjFpRcHhNhXdegyJv3KKDWrwO1_NB_KYZM_ZSDeMOZaL1A5jQ@mail.gmail.com
1 parentb767b3f commit5521e3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/executor/execReplication.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ ExecSimpleRelationInsert(EState *estate, TupleTableSlot *slot)
403403
if (rel->rd_att->constr)
404404
ExecConstraints(resultRelInfo,slot,estate);
405405

406-
/*Store theslot into tuple that we caninspect. */
406+
/*Materializeslot intoatuple that we canscribble upon. */
407407
tuple=ExecMaterializeSlot(slot);
408408

409409
/* OK, store the tuple and create index entries for it */
@@ -468,7 +468,7 @@ ExecSimpleRelationUpdate(EState *estate, EPQState *epqstate,
468468
if (rel->rd_att->constr)
469469
ExecConstraints(resultRelInfo,slot,estate);
470470

471-
/*Store theslot into tuple that we canwrite. */
471+
/*Materializeslot intoatuple that we canscribble upon. */
472472
tuple=ExecMaterializeSlot(slot);
473473

474474
/* OK, update the tuple and index entries for it */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp