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

Commitfc9eb3f

Browse files
author
Etsuro Fujita
committed
Update comment in ExecInsert() regarding batch insertion.
Remove the stale text that is a leftover from an earlier version of thepatch to add support for batch insertion, and adjust the wording in theremaining text.Back-patch to v14 where batch insertion came in.Review and wording adjustment by Tom Lane.Discussion:https://postgr.es/m/CAPmGK14goatHPHQv2Aeu_UTKqZ%2BBO%2BP%2Bzd3HKv5D%2BdyyfWKDSw%40mail.gmail.com
1 parent81c094b commitfc9eb3f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/backend/executor/nodeModifyTable.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -679,9 +679,8 @@ ExecInsert(ModifyTableState *mtstate,
679679
if (resultRelInfo->ri_BatchSize>1)
680680
{
681681
/*
682-
* If a certain number of tuples have already been accumulated, or
683-
* a tuple has come for a different relation than that for the
684-
* accumulated tuples, perform the batch insert
682+
* When we've reached the desired batch size, perform the
683+
* insertion.
685684
*/
686685
if (resultRelInfo->ri_NumSlots==resultRelInfo->ri_BatchSize)
687686
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp