Re: Fixup some StringInfo usages

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2024-04-09T02:27:36Z
Lists: pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> Similar to f736e188c, I've attached a patch that fixes up a few
> misusages of the StringInfo functions. These just swap one function
> call for another function that is more suited to the use case.

> I feel like it's a good idea to fix these soon while they're new
> rather than wait N years and make backpatching bug fixes possibly
> harder.

+1.  Looks good in a quick eyeball scan.

			regards, tom lane



Commits

  1. Fixup various StringInfo function usages