Re: v16dev: invalid memory alloc request size 8488348128

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>, pgsql-hackers@postgresql.org
Date: 2023-04-15T01:02:43Z
Lists: pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> Any chance you could try and come up with a minimal reproducer?

Yeah --- there's an awful lot of moving parts there, and a stack
trace is not much to go on.

			regards, tom lane



Commits

  1. Ensure result of an aggregate's finalfunc is made read-only.

  2. Remove uses of MemoryContextContains in nodeAgg.c and nodeWindowAgg.c.

  3. Fix pg_upgrade to detect non-upgradable anyarray usages.

  4. Work around cross-version-upgrade issues created by commit 9e38c2bb5.

  5. Declare assorted array functions using anycompatible not anyelement.