> On 25 Jun 2025, at 4:33 AM, Nathan Bossart <nathandboss...@gmail.com> wrote:
> 
> for DSAs and dshash tables, we probably want to use dsa_get_total_size()
> for the "size" column.
> 

The thing is that dsa_get_total_size expects an already attached dsa.

I can't see how it's possible to get the actual size for the dsa and dsh case,
without attaching and then using, dsa_get_total_size on the attached dsa.
And I don't think we wanna do that.

Instead maybe we can just report NULL for the dsa and dsh cases? 

Here’s a v5 that does it like that

Attachment: v5-0001-Update-pg_dsm_registry_allocations-to-include-stu.patch
Description: Binary data

Reply via email to