Expose wal_fpi_bytes in EXPLAIN (WAL)
authorMichael Paquier <michael@paquier.xyz>
Thu, 30 Oct 2025 06:34:01 +0000 (15:34 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 30 Oct 2025 06:34:01 +0000 (15:34 +0900)
commit5ab0b6a248076bf373a80bc7e83a5dfa4edf13aa
tree649f999a55443fed31e67568d61ada4a2d48238b
parentd432094689062b6a0b7b2504b289d34defca8888
Expose wal_fpi_bytes in EXPLAIN (WAL)

The new wal_fpi_bytes counter calculates the total amount of full page
images inserted in WAL records, in bytes.  This commit exposes this
information in EXPLAIN (ANALYZE, WAL) alongside the existing counters,
for both the text and JSON/YAML outputs, building upon f9a09aa29520.

Author: Shinya Kato <shinya11.kato@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discusssion: https://postgr.es/m/CAOzEurQtZEAfg6P0kU3Wa-f9BWQOi0RzJEMPN56wNTOmJLmfaQ@mail.gmail.com
doc/src/sgml/ref/explain.sgml
src/backend/commands/explain.c