appendStringInfoString(&buf, ", ");
                deparseStringLiteral(&buf, rv->relname);
            }
-           appendStringInfoString(&buf, ")");
+           appendStringInfoChar(&buf, ')');
        }
 
        /* Append ORDER BY at the end of query to ensure output ordering */
                 */
                appendStringInfoString(&buf, " OPTIONS (column_name ");
                deparseStringLiteral(&buf, attname);
-               appendStringInfoString(&buf, ")");
+               appendStringInfoChar(&buf, ')');
 
                /* Add COLLATE if needed */
                if (import_collate && collname != NULL && collnamespace != NULL)
 
                                                      get_namespace_name(
                              get_rel_namespace(RelationGetRelid(relation))),
                                              NameStr(class_form->relname)));
-   appendStringInfoString(ctx->out, ":");
+   appendStringInfoChar(ctx->out, ':');
 
    switch (change->action)
    {
 
        xl_smgr_create *xlrec = (xl_smgr_create *) rec;
        char       *path = relpathperm(xlrec->rnode, xlrec->forkNum);
 
-       appendStringInfo(buf, "%s", path);
+       appendStringInfoString(buf, path);
        pfree(path);
    }
    else if (info == XLOG_SMGR_TRUNCATE)
 
    {
        xl_restore_point *xlrec = (xl_restore_point *) rec;
 
-       appendStringInfo(buf, "%s", xlrec->rp_name);
+       appendStringInfoString(buf, xlrec->rp_name);
    }
    else if (info == XLOG_FPI || info == XLOG_FPI_FOR_HINT)
    {
        bool        fpw;
 
        memcpy(&fpw, rec, sizeof(bool));
-       appendStringInfo(buf, "%s", fpw ? "true" : "false");
+       appendStringInfoString(buf, fpw ? "true" : "false");
    }
    else if (info == XLOG_END_OF_RECOVERY)
    {
 
        if (IsA(name, String))
            appendStringInfoString(&string, strVal(name));
        else if (IsA(name, A_Star))
-           appendStringInfoString(&string, "*");
+           appendStringInfoChar(&string, '*');
        else
            elog(ERROR, "unexpected node type in name list: %d",
                 (int) nodeTag(name));
 
        appendStringInfoString(&rbuf, "TABLE(");
        ntabargs = print_function_arguments(&rbuf, proctup, true, false);
        if (ntabargs > 0)
-           appendStringInfoString(&rbuf, ")");
+           appendStringInfoChar(&rbuf, ')');
        else
            resetStringInfo(&rbuf);
    }