Use appendStringInfoString and appendPQExpBufferStr where possible

From: "Hou, Zhijie" <houzj(dot)fnst(at)cn(dot)fujitsu(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Use appendStringInfoString and appendPQExpBufferStr where possible
Date: 2020-09-22 04:59:49
Message-ID: cb172cf4361e4c7ba7167429070979d4@G08CNEXMBPEKD05.g08.fujitsu.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
0001-appendPQExpBufferStr-instead-of-appendPQExpBuffer.patch application/octet-stream 1.7 KB
0001-Use-appendStringInfoString-instead-of-appendStringIn.patch application/octet-stream 1.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andy Fan 2020-09-22 05:26:58 Re: Dynamic gathering the values for seq_page_cost/xxx_cost
Previous Message Greg Nancarrow 2020-09-22 04:55:21 Parallel INSERT (INTO ... SELECT ...)