diff options
author | Noah Misch <noah@leadboat.com> | 2024-04-29 10:25:33 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2024-04-29 10:25:33 -0700 |
commit | dd0183469bb779247c96e86c2272dca7ff4ec9e7 (patch) | |
tree | 1e2998dec368e7476dde36894e2b7f4356308f12 /doc/src | |
parent | f65ab862e3b8d96c6886641155d9447bc73b5126 (diff) | |
download | postgresql-dd0183469bb779247c96e86c2272dca7ff4ec9e7.tar.gz postgresql-dd0183469bb779247c96e86c2272dca7ff4ec9e7.zip |
Avoid repeating loads of frozen ID values.
Repeating loads of inplace-updated fields tends to cause bugs like the
one from the previous commit. While there's no bug to fix in these code
sites, adopt the load-once style. This improves the chance of future
copy/paste finding the safe style.
Discussion: https://postgr.es/m/20240423003956.e7.nmisch@google.com
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions