Re: BUG #19105: Parallel Hash Join crash when work_mem is small

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: nageshdbaa@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2025-11-09T23:40:55Z
Lists: pgsql-bugs
Thomas Munro <thomas.munro@gmail.com> writes:
> On Mon, Nov 10, 2025 at 4:23 AM PG Bug reporting form
> <noreply@postgresql.org> wrote:
>> ERROR:  could not attach to dynamic shared area
>> DETAIL:  invalid dsa_handle

>         ereport(ERROR,
>                 (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
>                  errmsg("could not attach to dynamic shared area")));

> Where do we emit that DETAIL message?

I'd not picked up on that point, but you're right: we don't emit any
such DETAIL anywhere, not in current and not in 16.2 either.  Must
be a locally-modified tree, or maybe just a copy-paste error in the
report?

			regards, tom lane