diff options
author | Marc G. Fournier <scrappy@hub.org> | 1998-12-14 08:11:17 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1998-12-14 08:11:17 +0000 |
commit | 9396802f14c404e294ba7a67dec77b10b7c79bd9 (patch) | |
tree | 08ce0bae3594b06b4b8ec19d48e135a0e4d68d96 /src/backend/libpq/portal.c | |
parent | df1468e251df8ea14ad2a4c6904bd0135cba44e5 (diff) | |
download | postgresql-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/portal.c')
-rw-r--r-- | src/backend/libpq/portal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libpq/portal.c b/src/backend/libpq/portal.c index d116a3c12cc..0dd744bbd18 100644 --- a/src/backend/libpq/portal.c +++ b/src/backend/libpq/portal.c @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: portal.c,v 1.18 1998/12/14 06:50:26 scrappy Exp $ + * $Id: portal.c,v 1.19 1998/12/14 08:11:06 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -53,7 +53,7 @@ * see utils/mmgr/portalmem.c for why. -cim 2/22/91 * */ -#include <stdio.h> /* for sprintf() */ +#include <stdio.h> #include <string.h> #include <postgres.h> |