From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add to pageinspect function to make t_infomask/t_infomask2 human
Date: Thu, 12 Sep 2019 06:09:39 +0000
Message-ID: <E1i8IIV-0004Ti-1Y@gemulon.postgresql.org> (raw)
Add to pageinspect function to make t_infomask/t_infomask2 human-readable
Flags of t_infomask and t_infomask2 for each tuple are already included
in the information returned by heap_page_items as integers, and we
lacked a way to make that information human-readable.
Per discussion, the function includes an option which controls if
combined flags should be decomposed or not. The default is false, to
not decompose combined flags.
The module is bumped to version 1.8.
Author: Craig Ringer, Sawada Masahiko
Reviewed-by: Peter Geoghegan, Robert Haas, Álvaro Herrera, Moon Insung,
Amit Kapila, Michael Paquier, Tomas Vondra
Discussion: https://postgr.es/m/CAMsr+YEY7jeaXOb+oX+RhDyOFuTMdmHjGsBxL=igCm03J0go9Q@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ddbd5d8731619ad3ab47ce325e8605422297a613
Modified Files
--------------
contrib/pageinspect/Makefile | 2 +-
contrib/pageinspect/expected/page.out | 180 ++++++++++++++++++++++++++
contrib/pageinspect/heapfuncs.c | 109 ++++++++++++++++
contrib/pageinspect/pageinspect--1.7--1.8.sql | 15 +++
contrib/pageinspect/pageinspect.control | 2 +-
contrib/pageinspect/sql/page.sql | 42 ++++++
doc/src/sgml/pageinspect.sgml | 41 ++++++
7 files changed, 389 insertions(+), 2 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Add to pageinspect function to make t_infomask/t_infomask2 human
In-Reply-To: <E1i8IIV-0004Ti-1Y@gemulon.postgresql.org>
References: <E1i8IIV-0004Ti-1Y@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox