aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-11-22 17:43:04 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-11-22 17:43:04 +0200
commit8fb5936703e84945766b8425bfe54e0060dea231 (patch)
treed0cbf43552ecd317bb167e407dc3d629ef344f7f /src/backend/access/gist
parentee937f0409d5c75855861bf31f88eeb77623b411 (diff)
downloadpostgresql-8fb5936703e84945766b8425bfe54e0060dea231.tar.gz
postgresql-8fb5936703e84945766b8425bfe54e0060dea231.zip
Make the memory layout of Port struct independent of USE_OPENSSL
Commit d39a49c1e4 added new fields to the struct, but missed the "keep these last" comment on the previous fields. Add placeholder variables so that the offsets of the fields are the same whether you build with USE_OPENSSL or not. This is a courtesy to extensions that might peek at the fields, to make the ABI the same regardless of the options used to build PostgreSQL. In reality, I don't expect any extensions to look at the 'raw_buf' fields. Firstly, they are new in v17, so no one's written such extensions yet. Secondly, extensions should have no business poking at those fields anyway. Nevertheless, fix this properly on 'master'. On v17, we mustn't change the memory layout, so just fix the comments. Author: Jacob Champion Discussion: https://www.postgresql.org/message-id/raw/CAOYmi%2BmKVJNzn5_TD_MK%3DhqO64r_w8Gb0FHCLk0oAkW-PJv8jQ@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions