diff options
author | David Rowley | 2025-04-10 22:07:22 +0000 |
---|---|---|
committer | David Rowley | 2025-04-10 22:07:22 +0000 |
commit | 928394b664bc4afef2fe6dc69a70e4074886e065 (patch) | |
tree | 820653f798f03379ef7f14108ddbabc5219a45ba /src/backend/commands | |
parent | 55ef7abf88c07e9f716846e645e1628c667c54a7 (diff) |
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 <[email protected]
Discussion: https://postgr.es/m/CAApHDvqJnNjueb=Eoj8K+8n0g7nj_AcPWSiCj5RNV4fDejAfqA@mail.gmail.com
Diffstat (limited to 'src/backend/commands')
-rw-r--r-- | src/backend/commands/explain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c index ef8aa489af8..786ee865f14 100644 --- a/src/backend/commands/explain.c +++ b/src/backend/commands/explain.c @@ -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); |