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

Commitd5e3fe6

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 parent0823d06 commitd5e3fe6

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
@@ -795,9 +795,8 @@ ExecInsert(ModifyTableContext *context,
795795
if (resultRelInfo->ri_BatchSize>1)
796796
{
797797
/*
798-
* If a certain number of tuples have already been accumulated, or
799-
* a tuple has come for a different relation than that for the
800-
* accumulated tuples, perform the batch insert
798+
* When we've reached the desired batch size, perform the
799+
* insertion.
801800
*/
802801
if (resultRelInfo->ri_NumSlots==resultRelInfo->ri_BatchSize)
803802
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp