Re: Proposal: Add a callback data parameter to GetNamedDSMSegment

From: Sami Imseih <samimseih(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Proposal: Add a callback data parameter to GetNamedDSMSegment
Date: 2025-12-13 14:21:58
Message-ID: CAA5RZ0uwkzVwOVU8vka6TO8iPTmB4O0M+jgsusB-31CaiPKWdw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> This is better than what I had earlier where I was testing that a string
> was passed correctly. See v6.

I was just using an Assert in v6 to test the pointer value, which is
not what we want for testing. Better to have a error with proper logging.
I fixed that in v7.

--
Sami Imseih
Amazon Web Services(AWS)

Attachment Content-Type Size
v7-0001-Add-init_callback_arg-parameter-to-GetNamedDSMSeg.patch application/octet-stream 8.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2025-12-13 15:52:43 Re: Clarify temporal FK comments
Previous Message Peter Eisentraut 2025-12-13 13:59:29 Re: eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)