@@ -4068,19 +4068,22 @@ show_modifytable_info(ModifyTableState *mtstate, List *ancestors,
4068
4068
skipped_path = total - insert_path - update_path - delete_path ;
4069
4069
Assert (skipped_path >= 0 );
4070
4070
4071
- if (es -> format == EXPLAIN_FORMAT_TEXT && total > 0 )
4071
+ if (es -> format == EXPLAIN_FORMAT_TEXT )
4072
4072
{
4073
- ExplainIndentText (es );
4074
- appendStringInfoString (es -> str , "Tuples:" );
4075
- if (insert_path > 0 )
4076
- appendStringInfo (es -> str , " inserted=%.0f" , insert_path );
4077
- if (update_path > 0 )
4078
- appendStringInfo (es -> str , " updated=%.0f" , update_path );
4079
- if (delete_path > 0 )
4080
- appendStringInfo (es -> str , " deleted=%.0f" , delete_path );
4081
- if (skipped_path > 0 )
4082
- appendStringInfo (es -> str , " skipped=%.0f" , skipped_path );
4083
- appendStringInfoChar (es -> str , '\n' );
4073
+ if (total > 0 )
4074
+ {
4075
+ ExplainIndentText (es );
4076
+ appendStringInfoString (es -> str , "Tuples:" );
4077
+ if (insert_path > 0 )
4078
+ appendStringInfo (es -> str , " inserted=%.0f" , insert_path );
4079
+ if (update_path > 0 )
4080
+ appendStringInfo (es -> str , " updated=%.0f" , update_path );
4081
+ if (delete_path > 0 )
4082
+ appendStringInfo (es -> str , " deleted=%.0f" , delete_path );
4083
+ if (skipped_path > 0 )
4084
+ appendStringInfo (es -> str , " skipped=%.0f" , skipped_path );
4085
+ appendStringInfoChar (es -> str , '\n' );
4086
+ }
4084
4087
}
4085
4088
else
4086
4089
{
0 commit comments