aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2023-04-11 14:07:54 -0700
committerPeter Geoghegan <pg@bowt.ie>2023-04-11 14:07:54 -0700
commite944063294fb9e85190f03948f5ce20331231e2f (patch)
treede3eac7e9a982bc89c24feeda25a9c072d8d6e74 /src/tutorial/funcs.c
parent57411c82ce8634888be807502ee6c50f219e0460 (diff)
downloadpostgresql-e944063294fb9e85190f03948f5ce20331231e2f.tar.gz
postgresql-e944063294fb9e85190f03948f5ce20331231e2f.zip
Fix xl_heap_lock WAL record field's data type.
Make xl_heap_lock's infobits_set field of type uint8, not int8. Using int8 isn't appropriate given that the field just holds status bits. This fixes an oversight in commit 0ac5ad5134. In passing rename the nearby TransactionId field to "xmax" to make things consistency with related records, such as xl_heap_lock_updated. Deliberately avoid a bump in XLOG_PAGE_MAGIC. No backpatch, either. Author: Peter Geoghegan <pg@bowt.ie> Discussion: https://postgr.es/m/CAH2-WzkCd3kOS8b7Rfxw7Mh1_6jvX=Nzo-CWR1VBTiOtVZkWHA@mail.gmail.com
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions