mirror of
https://github.com/postgres/postgres.git
synced 2025-10-16 17:07:43 +03:00
Improve various new-to-v18 appendStringInfo calls
Similar to 8461424fd
, here we adjust a few new locations which were not
using the most suitable appendStringInfo* function for the intended
purpose.
Author: David Rowley <drowleyml@gmail.com
Discussion: https://postgr.es/m/CAApHDvqJnNjueb=Eoj8K+8n0g7nj_AcPWSiCj5RNV4fDejAfqA@mail.gmail.com
This commit is contained in:
@@ -1848,7 +1848,7 @@ ExplainNode(PlanState *planstate, List *ancestors,
|
||||
|
||||
if (es->format == EXPLAIN_FORMAT_TEXT)
|
||||
{
|
||||
appendStringInfo(es->str, " (actual ");
|
||||
appendStringInfoString(es->str, " (actual ");
|
||||
|
||||
if (es->timing)
|
||||
appendStringInfo(es->str, "time=%.3f..%.3f ", startup_ms, total_ms);
|
||||
@@ -1917,7 +1917,7 @@ ExplainNode(PlanState *planstate, List *ancestors,
|
||||
if (es->format == EXPLAIN_FORMAT_TEXT)
|
||||
{
|
||||
ExplainIndentText(es);
|
||||
appendStringInfo(es->str, "actual ");
|
||||
appendStringInfoString(es->str, "actual ");
|
||||
if (es->timing)
|
||||
appendStringInfo(es->str, "time=%.3f..%.3f ", startup_ms, total_ms);
|
||||
|
||||
|
Reference in New Issue
Block a user