PG Bug reporting form <noreply@postgresql.org> writes:
> PostgreSQL version: 16.2
> Server terminates with:
> ERROR: could not attach to dynamic shared area
> DETAIL: invalid dsa_handle
I could not reproduce this problem with current sources
(either master or v16 branch tip). 16.2 is pretty old,
so maybe an update will fix it for you.
regards, tom lane