pgsql: Add MultiXactOffsetStorageSize() to multixact_internal.h - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Add MultiXactOffsetStorageSize() to multixact_internal.h
Date
Msg-id E1vaS9f-003QrZ-1T@gemulon.postgresql.org
Whole thread Raw
List 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@gmail.com>
Co-authored-by: Michael Paquier <michael@paquier.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(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Change GetMultiXactInfo() to return the next multixact offset
Next
From: Michael Paquier
Date:
Subject: pgsql: Add pg_get_multixact_stats()