pgsql: Fix nbtree page split rmgr desc routine.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Fix nbtree page split rmgr desc routine.

Peter Geoghegan-4
Fix nbtree page split rmgr desc routine.

Include newitemoff in rmgr desc output for nbtree page split records.
In passing, correct an obsolete comment that claimed that newitemoff is
only logged for _L variant nbtree page split WAL records.

Both issues were oversights in commit 2c03216d831, which revamped the
WAL format.

Author: Peter Geoghegan
Backpatch: 9.5-, where the WAL format was revamped.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3b6b54f178d7539354064727cca9b4ff2eca0fce

Modified Files
--------------
src/backend/access/rmgrdesc/nbtdesc.c |  4 ++--
src/include/access/nbtxlog.h          | 15 +++++++--------
2 files changed, 9 insertions(+), 10 deletions(-)