aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
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/executor
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/executor')
-rw-r--r--src/backend/executor/execAmi.c4
-rw-r--r--src/backend/executor/nodeHash.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/executor/execAmi.c b/src/backend/executor/execAmi.c
index 17936d75d05..a1f26d9fc1d 100644
--- a/src/backend/executor/execAmi.c
+++ b/src/backend/executor/execAmi.c
@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: execAmi.c,v 1.27 1998/12/14 06:50:20 scrappy Exp $
+ * $Id: execAmi.c,v 1.28 1998/12/14 08:11:02 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -24,7 +24,7 @@
* ExecCreatR function to create temporary relations
*
*/
-#include <stdio.h> /* for sprintf() */
+#include <stdio.h>
#include "postgres.h"
diff --git a/src/backend/executor/nodeHash.c b/src/backend/executor/nodeHash.c
index 1f900bdb172..5f528850ffa 100644
--- a/src/backend/executor/nodeHash.c
+++ b/src/backend/executor/nodeHash.c
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
*
- * $Id: nodeHash.c,v 1.26 1998/12/14 06:50:21 scrappy Exp $
+ * $Id: nodeHash.c,v 1.27 1998/12/14 08:11:02 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,7 +19,7 @@
*/
#include <sys/types.h>
-#include <stdio.h> /* for sprintf() */
+#include <stdio.h>
#include <math.h>
#include <string.h>
#include <sys/file.h>