Обсуждение: pgsql: Add MultiXactOffsetStorageSize() to multixact_internal.h

Поиск
Список
Период
Сортировка

pgsql: Add MultiXactOffsetStorageSize() to multixact_internal.h

От
Michael Paquier
Дата:
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(+)