pgsql: Show more detail in heapam rmgr descriptions.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема pgsql: Show more detail in heapam rmgr descriptions.
Дата
Msg-id E1pkvCj-001w5Y-R3@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Show more detail in heapam rmgr descriptions.

Add helper functions that output arrays in a standard format, and use
the functions inside heapdesc routines.  This allows tools like
pg_walinspect to show a detailed description of the page offset number
arrays for records like PRUNE and VACUUM (unless there was an FPI).

Also document the conventions that desc routines should follow.  Only
the heapdesc routines follow the conventions for now, so they're just
guidelines for the time being.

Based on a suggestion from Andres Freund.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-By: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/flat/20230109215842.fktuhesvayno6o4g%40awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7d8219a444bd917d21234c97e2417a410f10ebd3

Modified Files
--------------
doc/src/sgml/pgwalinspect.sgml               |  22 ++--
src/backend/access/rmgrdesc/Makefile         |   1 +
src/backend/access/rmgrdesc/heapdesc.c       | 155 ++++++++++++++++++++++-----
src/backend/access/rmgrdesc/meson.build      |   1 +
src/backend/access/rmgrdesc/rmgrdesc_utils.c |  84 +++++++++++++++
src/bin/pg_waldump/Makefile                  |   2 +-
src/include/access/rmgrdesc_utils.h          |  22 ++++
7 files changed, 247 insertions(+), 40 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Adjust contrib/sepgsql regression test expected outputs.
Следующее
От: Stephen Frost
Дата:
Сообщение: pgsql: For Kerberos testing, disable DNS lookups