summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xloginsert.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2022-07-26 14:56:25 -0400
committerRobert Haas <rhaas@postgresql.org>2022-07-26 14:56:25 -0400
commitd8cd0c6c95c0120168df93aae095df4e0682a08a (patch)
treeb8f9c54bd71a4994b488b72e533c984af9fe53ec /src/backend/access/transam/xloginsert.c
parente530be2c5ce77475d56ccf8f4e0c4872b666ad5f (diff)
Remove the restriction that the relmap must be 512 bytes.
Instead of relying on the ability to atomically overwrite the entire relmap file in one shot, write a new one and durably rename it into place. Removing the struct padding and the calculation showing why the map is exactly 512 bytes, and change the maximum number of entries to a nearby round number. Patch by me, reviewed by Andres Freund and Dilip Kumar. Discussion: http://postgr.es/m/CA+TgmoZq5%3DLWDK7kHaUbmWXxcaTuw_QwafgG9dr-BaPym_U8WQ%40mail.gmail.com Discussion: http://postgr.es/m/CAFiTN-ttOXLX75k_WzRo9ar=VvxFhrHi+rJxns997F+yvkm==A@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xloginsert.c')
0 files changed, 0 insertions, 0 deletions