aboutsummaryrefslogtreecommitdiff
path: root/src/backend/libpq/util.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-12-14 08:11:17 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-12-14 08:11:17 +0000
commit9396802f14c404e294ba7a67dec77b10b7c79bd9 (patch)
tree08ce0bae3594b06b4b8ec19d48e135a0e4d68d96 /src/backend/libpq/util.c
parentdf1468e251df8ea14ad2a4c6904bd0135cba44e5 (diff)
downloadpostgresql-9396802f14c404e294ba7a67dec77b10b7c79bd9.tar.gz
postgresql-9396802f14c404e294ba7a67dec77b10b7c79bd9.zip
more cleanups...of note, appendStringInfo now performs like sprintf(),
where you state a format and arguments. the old behavior required each appendStringInfo to have to have a sprintf() before it if any formatting was required. Also shortened several instances where there were multiple appendStringInfo() calls in a row, doing nothing more then adding one more word to the String, instead of doing them all in one call.
Diffstat (limited to 'src/backend/libpq/util.c')
-rw-r--r--src/backend/libpq/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libpq/util.c b/src/backend/libpq/util.c
index c9cd23641eb..94ff9169e48 100644
--- a/src/backend/libpq/util.c
+++ b/src/backend/libpq/util.c
@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: util.c,v 1.6 1998/12/14 06:50:27 scrappy Exp $
+ * $Id: util.c,v 1.7 1998/12/14 08:11:07 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -17,7 +17,7 @@
* PQuntrace - turn off pqdebug() tracing
*/
-#include <stdio.h> /* for sprintf() */
+#include <stdio.h>
#include <string.h>
#include <postgres.h>