]> granicus.if.org Git - postgresql/commit
more cleanups...of note, appendStringInfo now performs like sprintf(),
authorMarc G. Fournier <scrappy@hub.org>
Mon, 14 Dec 1998 08:11:17 +0000 (08:11 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 14 Dec 1998 08:11:17 +0000 (08:11 +0000)
commit9396802f14c404e294ba7a67dec77b10b7c79bd9
tree08ce0bae3594b06b4b8ec19d48e135a0e4d68d96
parentdf1468e251df8ea14ad2a4c6904bd0135cba44e5
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.
12 files changed:
src/backend/commands/explain.c
src/backend/commands/user.c
src/backend/commands/view.c
src/backend/executor/execAmi.c
src/backend/executor/nodeHash.c
src/backend/lib/stringinfo.c
src/backend/libpq/portal.c
src/backend/libpq/util.c
src/backend/nodes/outfuncs.c
src/backend/utils/adt/nabstime.c
src/backend/utils/sort/psort.c
src/include/lib/stringinfo.h