Re: pgsql: Teach DSM registry to ERROR if attaching to an uninitialized ent

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-25T20:58:47Z
Lists: pgsql-hackers
On Tue, Nov 25, 2025 at 12:45 PM Nathan Bossart
<nathandbossart@gmail.com> wrote:
> I gave your idea a try, and I like the result a lot.  IMHO it makes the
> code much easier to reason about.

I looked through this and I agree this looks good. Thanks for working on it.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



Commits

  1. Teach DSM registry to retry entry initialization if needed.

  2. Revert "Teach DSM registry to ERROR if attaching to an uninitialized entry."

  3. Teach DSM registry to ERROR if attaching to an uninitialized entry.