postgresql/src/pl
David Rowley 110d81728a Fixup some appendStringInfo and appendPQExpBuffer calls
A number of places were using appendStringInfo() when they could have been
using appendStringInfoString() instead.  While there's no functionality
change there, it's just more efficient to use appendStringInfoString()
when no formatting is required.  Likewise for some
appendStringInfoString() calls which were just appending a single char.
We can just use appendStringInfoChar() for that.

Additionally, many places were using appendPQExpBuffer() when they could
have used appendPQExpBufferStr(). Change those too.

Patch by Zhijie Hou, but further searching by me found significantly more
places that deserved the same treatment.

Author: Zhijie Hou, David Rowley
Discussion: https://postgr.es/m/cb172cf4361e4c7ba7167429070979d4@G08CNEXMBPEKD05.g08.fujitsu.local
2020-10-15 20:35:17 +13:00
..
plperl plperl.h should #undef fstat along with stat and lstat. 2020-10-09 17:54:34 -04:00
plpgsql Support for OUT parameters in procedures 2020-10-05 09:21:43 +02:00
plpython Fixup some appendStringInfo and appendPQExpBuffer calls 2020-10-15 20:35:17 +13:00
tcl Support for OUT parameters in procedures 2020-10-05 09:21:43 +02:00
Makefile Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00