summaryrefslogtreecommitdiff
path: root/src/backend/lib
diff options
context:
space:
mode:
authorHeikki Linnakangas2015-07-02 09:32:48 +0000
committerHeikki Linnakangas2015-07-02 09:36:31 +0000
commit02ec4cd179099fc409288bb55c40fea308a51204 (patch)
tree1936e351b2dd3c0f73b25381b3f06db3dc6b1055 /src/backend/lib
parent00ccea9e9dcee7b4f103674d274fadc8b09075f7 (diff)
Use appendStringInfoString/Char et al where appropriate.
Patch by David Rowley. Backpatch to 9.5, as some of the calls were new in 9.5, and keeping the code in sync with master makes future backpatching easier.
Diffstat (limited to 'src/backend/lib')
-rw-r--r--src/backend/lib/pairingheap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/lib/pairingheap.c b/src/backend/lib/pairingheap.c
index 3d8a5ea5618..7ca35452ded 100644
--- a/src/backend/lib/pairingheap.c
+++ b/src/backend/lib/pairingheap.c
@@ -306,7 +306,7 @@ pairingheap_dump_recurse(StringInfo buf,
appendStringInfoSpaces(buf, depth * 4);
dumpfunc(node, buf, opaque);
- appendStringInfoString(buf, "\n");
+ appendStringInfoChar(buf, '\n');
if (node->first_child)
pairingheap_dump_recurse(buf, node->first_child, dumpfunc, opaque, depth + 1, node);
prev_or_parent = node;