Improve a few appendStringInfo calls new to v18 - Mailing list pgsql-hackers

From David Rowley
Subject Improve a few appendStringInfo calls new to v18
Date
Msg-id CAApHDvqJnNjueb=Eoj8K+8n0g7nj_AcPWSiCj5RNV4fDejAfqA@mail.gmail.com
Whole thread Raw
Responses Re: Improve a few appendStringInfo calls new to v18
Re: Improve a few appendStringInfo calls new to v18
List pgsql-hackers
Looks like v18 has grown a few appendStringInfo misusages, e.g. using
appendStringInfo() when no formatting is needed or just using format
"%s" instead of using appendStringInfoString().

I've attached a couple of patches. The 0001 is just my method for
finding these, not for commit. 0002 contains the fixes to commit.

Any objections to doing this soonish? Or in a few weeks?

David

Attachment

pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: n_ins_since_vacuum stats for aborted transactions
Next
From: Peter Smith
Date:
Subject: Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding