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

Commit2e61c50

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 parent4212179 commit2e61c50

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
@@ -417,7 +417,7 @@ ExecSimpleRelationInsert(EState *estate, TupleTableSlot *slot)
417417
if (resultRelInfo->ri_PartitionCheck)
418418
ExecPartitionCheck(resultRelInfo,slot,estate, true);
419419

420-
/*Store theslot into tuple that we caninspect. */
420+
/*Materializeslot intoatuple that we canscribble upon. */
421421
tuple=ExecMaterializeSlot(slot);
422422

423423
/* OK, store the tuple and create index entries for it */
@@ -484,7 +484,7 @@ ExecSimpleRelationUpdate(EState *estate, EPQState *epqstate,
484484
if (resultRelInfo->ri_PartitionCheck)
485485
ExecPartitionCheck(resultRelInfo,slot,estate, true);
486486

487-
/*Store theslot into tuple that we canwrite. */
487+
/*Materializeslot intoatuple that we canscribble upon. */
488488
tuple=ExecMaterializeSlot(slot);
489489

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp