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

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Nathan Bossart <nathan(at)postgresql(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgsql: Teach DSM registry to ERROR if attaching to an uninitialized ent
Date: 2025-11-24 18:36:25
Message-ID: aSSlqWwLVuXMmN-o@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Sat, Nov 22, 2025 at 01:41:21PM -0600, Nathan Bossart wrote:
> I'll give what you suggested a try. It seems reasonable enough.

Here is a mostly-untested first try.

--
nathan

Attachment Content-Type Size
v1-0001-Revert-Teach-DSM-registry-to-ERROR-if-attaching-t.patch text/plain 3.7 KB
v1-0002-handle-ERRORs-in-DSM-registry-functions.patch text/plain 5.4 KB

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2025-11-24 19:03:06 Re: pgsql: Teach DSM registry to ERROR if attaching to an uninitialized ent
Previous Message Álvaro Herrera 2025-11-24 16:18:34 pgsql: Fix infer_arbiter_index during concurrent index operations

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2025-11-24 18:43:28 Re: Remove useless casting to the same type
Previous Message Tom Lane 2025-11-24 18:26:03 Re: get rid of Pointer type, mostly