forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite3b249c
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 parent9695835 commite3b249c
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
209 | | - | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
225 | 228 | | |
226 | 229 | | |
227 | 230 | | |
| |||
0 commit comments
Comments
(0)