aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-03-27 13:15:04 +0900
committerMichael Paquier <michael@paquier.xyz>2023-03-27 13:15:04 +0900
commit0276ae42ddea02682f514aaea449f183229ddbbc (patch)
treec050a99757274355461f5ee16e24bcafb0d1903a /src/backend/commands/async.c
parent850f4b4c8cab03a084ccc89245df061639ad1769 (diff)
downloadpostgresql-0276ae42ddea02682f514aaea449f183229ddbbc.tar.gz
postgresql-0276ae42ddea02682f514aaea449f183229ddbbc.zip
Improve a few things in pg_walinspect
This improves a few things in pg_walinspect: - Return NULL rather than empty strings in pg_get_wal_records_info() for the block references and the record description if there is no information provided by the fallback. This point has been raised by Peter Geoghegan. - Add a check on XLogRecHasAnyBlockRefs() for pg_get_wal_block_info(), to directly skip records that have no block references. This speeds up the function a bit, depending on the number of records that have no block references. Author: Bharath Rupireddy Reviewed-by: Kyotaro Horiguchi, Michael Paquier Discussion: https://postgr.es/m/CALj2ACWL9RG8sGJHinggRNBTxgRWJTSxCkB+cE6=t3Phh=Ey+A@mail.gmail.com
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions