Re: BUG #18484: "Cannot enlarge string buffer" during parallel execution of prepared statement/partitioning

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: David Rowley <dgrowleyml@gmail.com>, michael.banck@netapp.com, pgsql-bugs@lists.postgresql.org
Date: 2024-05-30T15:37:13Z
Lists: pgsql-bugs
Daniel Gustafsson <daniel@yesql.se> writes:
>> On 30 May 2024, at 11:55, David Rowley <dgrowleyml@gmail.com> wrote:
>> Not on purpose. I do think (%zu bytes) would be better than (%zu).  I
>> only thought about that while typing "MB" in the 2nd email.

> +1

+1 for "(%zu bytes)", and also for not rounding off.  This is a case
where that won't make it more intelligible.

			regards, tom lane



Commits

  1. Improve enlargeStringInfo's ERROR message