forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8fb5936
committed
Make the memory layout of Port struct independent of USE_OPENSSL
Commitd39a49c added new fields to the struct, but missed the "keepthese last" comment on the previous fields. Add placeholder variablesso that the offsets of the fields are the same whether you build withUSE_OPENSSL or not. This is a courtesy to extensions that might peekat the fields, to make the ABI the same regardless of the options usedto 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 suchextensions yet. Secondly, extensions should have no business poking atthose fields anyway. Nevertheless, fix this properly on 'master'. Onv17, we mustn't change the memory layout, so just fix the comments.Author: Jacob ChampionDiscussion:https://www.postgresql.org/message-id/raw/CAOYmi%2BmKVJNzn5_TD_MK%3DhqO64r_w8Gb0FHCLk0oAkW-PJv8jQ@mail.gmail.com1 parentee937f0 commit8fb5936
1 file changed
+7
-2
lines changedLines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
210 |
| - | |
211 |
| - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
212 | 214 |
| |
213 | 215 |
| |
214 | 216 |
| |
215 | 217 |
| |
| 218 | + | |
| 219 | + | |
| 220 | + | |
216 | 221 |
| |
217 | 222 |
| |
218 | 223 |
| |
|
0 commit comments
Comments
(0)