Use appendStringInfoString and appendPQExpBufferStr where possible

Hou, Zhijie <houzj.fnst@cn.fujitsu.com>

From: "Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2020-09-22T04:59:49Z
Lists: pgsql-hackers

Attachments

Hi hackers

In(/src/bin/scripts/reindexdb.c; /src/backend/access/rmgrdesc/dbasedesc.c; /src/pl/plpython/plpy_elog.c)

I found some more places that should use appendPQExrBufferStr instead of appendPQExpBuffer.

Here is the patch.

Previous Discussion:
https://www.postgresql.org/message-id/CAKJS1f9P=M-3ULmPvr8iCno8yvfDViHibJjpriHU8+SXUgeZ=w@mail.gmail.com

Best regards,
Houzj/huangj


Commits

  1. Fixup some appendStringInfo and appendPQExpBuffer calls