summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Rowley2020-10-15 07:35:17 +0000
committerDavid Rowley2020-10-15 07:35:17 +0000
commit110d81728a0a006abcf654543fc15346f8043dc0 (patch)
treeeb0caef08d002a3bc627bcb8de2e5b1d65925abc /Makefile
parent73c381cee71e7dd8a78a394731958b0bbb4d8991 (diff)
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
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions