postgresql/src/include/libpq
Heikki Linnakangas e3b249c6d8 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
2024-11-22 17:43:34 +02:00
..
auth.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
be-fsstubs.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
be-gssapi-common.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
crypt.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
hba.h Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
ifaddr.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
libpq-be-fe-helpers.h Make libpqsrv_cancel's return const char *, not char * 2024-04-05 18:23:10 +02:00
libpq-be.h Make the memory layout of Port struct independent of USE_OPENSSL 2024-11-22 17:43:34 +02:00
libpq-fs.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
libpq.h Harmonize function parameter names for Postgres 17. 2024-06-12 17:01:51 -04:00
pqcomm.h Change ALPN protocol ID to IANA-approved "postgresql" 2024-05-11 18:48:19 +03:00
pqformat.h Remove unused 'countincludesself' argument to pq_sendcountedtext() 2024-03-04 12:56:05 +02:00
pqmq.h Replace BackendIds with 0-based ProcNumbers 2024-03-03 19:38:22 +02:00
pqsignal.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
protocol.h Use PqMsg_* macros in more places. 2024-07-17 10:51:00 -05:00
sasl.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
scram.h Update copyright for 2024 2024-01-03 20:49:05 -05:00