postgresql/contrib/pg_walinspect
Peter Geoghegan bade01cb4d Fix recent pg_walinspect fpi_length bug.
Commit 0276ae42dd taught pg_walinspect's pg_get_wal_record_info()
function to output NULLs rather than empty strings for its record
description and block_ref output parameters.  However, it inadvertently
moved the function call that sets fpi_length until after it was already
set.  As a result, pg_get_wal_record_info() always output spurious
fpi_length values of 0.

Fix by switching the order back (but keep the behavioral change).

Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Discussion: https://postgr.es/m/CAH2-WzkJmgSYkt6-smQ+57SxSmov+EKqFZdSimFewosoL_JKoA@mail.gmail.com
2023-03-28 10:53:48 -07:00
..
expected Improve a bit the tests of pg_walinspect 2023-03-23 11:50:35 +09:00
sql Improve a bit the tests of pg_walinspect 2023-03-23 11:50:35 +09:00
.gitignore
Makefile Refactor and improve tests of pg_walinspect 2023-03-13 13:03:29 +09:00
meson.build Refactor and improve tests of pg_walinspect 2023-03-13 13:03:29 +09:00
pg_walinspect--1.0--1.1.sql Rework design of functions in pg_walinspect 2023-03-14 20:13:02 +09:00
pg_walinspect--1.0.sql Use float8 datatype for percentiles in pg_walinspect stat functions 2022-09-12 10:01:00 +02:00
pg_walinspect.c Fix recent pg_walinspect fpi_length bug. 2023-03-28 10:53:48 -07:00
pg_walinspect.control pg_walinspect: Add pg_get_wal_fpi_info() 2023-01-23 13:55:18 +09:00
walinspect.conf Fix buildfarm failures in pg_walinspect tests. 2022-04-08 03:21:12 -07:00