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: 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 19:03:06
Message-ID: aSSr6j3JzeLcqOWo@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Mon, Nov 24, 2025 at 12:36:25PM -0600, Nathan Bossart wrote:
> 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.

I think 0002 was more complicated than necessary. Here's a second try.

--
nathan

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2025-11-24 19:05:14 Re: get rid of Pointer type, mostly
Previous Message Matthias van de Meent 2025-11-24 18:59:10 Re: Expanding HOT updates for expression and partial indexes

Browse pgsql-committers by date

  From Date Subject
Previous Message Nathan Bossart 2025-11-24 18:36:25 Re: pgsql: Teach DSM registry to ERROR if attaching to an uninitialized ent