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

David Rowley <dgrowleyml@gmail.com>

From: David Rowley <dgrowleyml@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Daniel Gustafsson <daniel@yesql.se>, michael.banck@netapp.com, pgsql-bugs@lists.postgresql.org
Date: 2024-05-30T22:34:00Z
Lists: pgsql-bugs

Attachments

On Fri, 31 May 2024 at 03:37, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> +1 for "(%zu bytes)", and also for not rounding off.  This is a case
> where that won't make it more intelligible.

Here's a revised patch with "(%zu bytes)".

Unsure if this needs to wait until we branch or if it's fine to sneak
into v17.  I'll leave it til after the branch unless anyone feels
differently.

David

Commits

  1. Improve enlargeStringInfo's ERROR message