From cacbdd78106526d7c4f11f90b538f96ba8696fb0 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 31 Oct 2013 10:55:59 -0400 Subject: Use appendStringInfoString instead of appendStringInfo where possible. This shaves a few cycles, and generally seems like good programming practice. David Rowley --- src/backend/tcop/postgres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/tcop/postgres.c') diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 1eaf287eec9..181e3fe1f6c 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -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), -- cgit v1.2.3