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

Commitf9e0255

Browse files
committed
Add missing case for CustomScan.
Per KaiGai Kohei.In passing improve formatting of some code added in commit30d7ae3,because otherwise pgindent will make a mess of it.
1 parentf464042 commitf9e0255

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

‎src/backend/commands/explain.c

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,14 +1937,17 @@ show_hash_info(HashState *hashstate, ExplainState *es)
19371937
hashtable->nbatch_original,es);
19381938
ExplainPropertyLong("Peak Memory Usage",spacePeakKb,es);
19391939
}
1940-
elseif ((hashtable->nbatch_original!=hashtable->nbatch)||
1941-
(hashtable->nbuckets_original!=hashtable->nbuckets))
1940+
elseif (hashtable->nbatch_original!=hashtable->nbatch||
1941+
hashtable->nbuckets_original!=hashtable->nbuckets)
19421942
{
19431943
appendStringInfoSpaces(es->str,es->indent*2);
19441944
appendStringInfo(es->str,
1945-
"Buckets: %d (originally %d) Batches: %d (originally %d) Memory Usage: %ldkB\n",
1946-
hashtable->nbuckets,hashtable->nbuckets_original,
1947-
hashtable->nbatch,hashtable->nbatch_original,spacePeakKb);
1945+
"Buckets: %d (originally %d) Batches: %d (originally %d) Memory Usage: %ldkB\n",
1946+
hashtable->nbuckets,
1947+
hashtable->nbuckets_original,
1948+
hashtable->nbatch,
1949+
hashtable->nbatch_original,
1950+
spacePeakKb);
19481951
}
19491952
else
19501953
{
@@ -2144,6 +2147,7 @@ ExplainTargetRel(Plan *plan, Index rti, ExplainState *es)
21442147
caseT_BitmapHeapScan:
21452148
caseT_TidScan:
21462149
caseT_ForeignScan:
2150+
caseT_CustomScan:
21472151
caseT_ModifyTable:
21482152
/* Assert it's on a real relation */
21492153
Assert(rte->rtekind==RTE_RELATION);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp