]> granicus.if.org Git - postgresql/commit
Add to pageinspect function to make t_infomask/t_infomask2 human-readable
authorMichael Paquier <michael@paquier.xyz>
Thu, 12 Sep 2019 06:06:00 +0000 (15:06 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 12 Sep 2019 06:06:00 +0000 (15:06 +0900)
commitddbd5d8731619ad3ab47ce325e8605422297a613
tree3648e075d72b0477c17071fa644246be0b7e12fa
parentaafe2762b152ffd4cb839d2a01df6cfcc3c6df6c
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
contrib/pageinspect/Makefile
contrib/pageinspect/expected/page.out
contrib/pageinspect/heapfuncs.c
contrib/pageinspect/pageinspect--1.7--1.8.sql [new file with mode: 0644]
contrib/pageinspect/pageinspect.control
contrib/pageinspect/sql/page.sql
doc/src/sgml/pageinspect.sgml