mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
Use appendStringInfoString instead of appendStringInfo where possible.
This shaves a few cycles, and generally seems like good programming practice. David Rowley
This commit is contained in:
@ -4343,7 +4343,7 @@ ShowUsage(const char *title)
|
||||
*/
|
||||
initStringInfo(&str);
|
||||
|
||||
appendStringInfo(&str, "! system usage stats:\n");
|
||||
appendStringInfoString(&str, "! system usage stats:\n");
|
||||
appendStringInfo(&str,
|
||||
"!\t%ld.%06ld elapsed %ld.%06ld user %ld.%06ld system sec\n",
|
||||
(long) (elapse_t.tv_sec - Save_t.tv_sec),
|
||||
|
Reference in New Issue
Block a user