pgsql: Add MultiXactOffsetStorageSize() to multixact_internal.h

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add MultiXactOffsetStorageSize() to multixact_internal.h
Date: 2025-12-30 05:20:24
Message-ID: E1vaS9f-003QrZ-1T@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add MultiXactOffsetStorageSize() to multixact_internal.h

This function calculates in bytes the storage taken between two
multixact offsets. This will be used in an upcoming patch, introduced
separately here as this piece can be useful on its own.

Author: Naga Appani <nagnrik(at)gmail(dot)com>
Co-authored-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/aUyTvZMq2CLgNEB4@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0e3ad4b96aedee57fc2694e28486fe0ceca8110a

Modified Files
--------------
src/include/access/multixact_internal.h | 10 ++++++++++
1 file changed, 10 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-12-30 06:40:46 pgsql: Add pg_get_multixact_stats()
Previous Message Michael Paquier 2025-12-30 05:04:11 pgsql: Change GetMultiXactInfo() to return the next multixact offset