diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-07-02 12:32:48 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-07-02 12:36:03 +0300 |
commit | f92d6a540ac443f85f0929b284edff67da14687a (patch) | |
tree | 3c7e4d5d882889255b7e6b19e1343e37fa812e03 /src/backend/lib | |
parent | 7931622d1d942dbbba8d0eab77f18f69f1ce5de0 (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.c | 2 |
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; |