aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2023-04-11 15:25:02 -0700
committerPeter Geoghegan <pg@bowt.ie>2023-04-11 15:25:02 -0700
commit96149a180d56162b0288e8c8ec5ee2c1f076e88b (patch)
tree24d8361539c7a167ee7fa2bbe8445442ae4c1d5a /src/tutorial/funcs.c
parente944063294fb9e85190f03948f5ce20331231e2f (diff)
downloadpostgresql-96149a180d56162b0288e8c8ec5ee2c1f076e88b.tar.gz
postgresql-96149a180d56162b0288e8c8ec5ee2c1f076e88b.zip
Fix Heap rmgr's desc output for infobits arrays.
Make heap desc routines that output status bit as arrays of constants avoid outputting array literals that contain superfluous punctuation characters that complicate parsing the output. Also make sure that no heap desc routine repeats the same key name (at the same nesting level), for the same reason. Arguably, these were both oversights in commit 7d8219a4. In passing, make the desc output code (which covers Heap's DELETE, UPDATE, HOT_UPDATE, LOCK, and LOCK_UPDATED record types) consistent in terms of the output order of each field. This order also matches WAL record struct order. Heap's DELETE desc output now shows the record's xmax field for the first time (just like UPDATE/HOT_UPDATE records). Author: Peter Geoghegan <pg@bowt.ie> Reviewed-By: Melanie Plageman <melanieplageman@gmail.com> Discussion: https://postgr.es/m/CAH2-Wz=pNYtxiJ2Jx5Lj=fKo1OEZ4GE0p_kct+ugAUTqBwU46g@mail.gmail.com
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions