postgresql/src/include
Thomas Munro 64ef572c06 Remove configure probes for sockaddr_storage members.
Remove four probes for members of sockaddr_storage.  Keep only the probe
for sockaddr's sa_len, which is enough for our two remaining places that
know about _len fields:

1.  ifaddr.c needs to know if sockaddr has sa_len to understand the
result of ioctl(SIOCGIFCONF).  Only AIX is still using the relevant code
today, but it seems like a good idea to keep it compilable on Linux.

2.  ip.c was testing for presence of ss_len to decide whether to fill in
sun_len in our getaddrinfo_unix() function.  It's just as good to test
for sa_len.  If you have one, you have them all.

(The code in #2 isn't actually needed at all on several OSes I checked
since modern versions ignore sa_len on input to system calls.  Proving
that's the case for all relevant OSes is left for another day, but
wouldn't get rid of that last probe anyway if we still want it for #1.)

Discussion: https://postgr.es/m/CA%2BhUKGJJjF2AqdU_Aug5n2MAc1gr%3DGykNjVBZq%2Bd6Jrcp3Dyvg%40mail.gmail.com
2022-08-22 17:50:30 +12:00
..
access Add missing parenthesis to max item size macro. 2022-08-05 13:06:19 -07:00
backup Move basebackup code to new directory src/backend/backup 2022-08-10 14:03:23 -04:00
bootstrap Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
catalog Bump catversion for 6566133c5f 2022-08-18 15:10:06 -04:00
commands Fix comment in copyfrom_internal.h 2022-08-06 21:13:45 +09:00
common Remove replacement code for getaddrinfo. 2022-08-14 09:53:28 +12:00
datatype Fix overflow hazards in interval input and output conversions. 2022-04-02 16:12:29 -04:00
executor Remove unused fields from ExprEvalStep 2022-08-03 09:46:02 +12:00
fe_utils Add xheader_width pset option to psql 2022-07-25 14:25:02 -04:00
foreign Update copyright for 2022 2022-01-07 19:04:57 -05:00
jit Add central declarations for dlsym()ed symbols 2022-07-17 17:23:42 -07:00
lib Add missing inequality searches to rbtree 2022-07-08 22:00:03 +03:00
libpq Remove configure probes for sockaddr_storage members. 2022-08-22 17:50:30 +12:00
mb Simplify coding style of is_valid_ascii() 2022-08-05 16:50:22 +07:00
nodes Improve performance of adjust_appendrel_attrs_multilevel. 2022-08-18 12:36:16 -04:00
optimizer Improve performance of adjust_appendrel_attrs_multilevel. 2022-08-18 12:36:16 -04:00
parser Update comment in gramparse.h 2022-08-18 09:45:05 +07:00
partitioning Have ExecFindPartition cache the last found partition 2022-08-02 09:55:27 +12:00
port Remove configure probe for netinet/tcp.h. 2022-08-18 16:31:11 +12:00
portability Fix obsolete comments in instr_time.h. 2022-08-09 11:50:03 +12:00
postmaster Add central declarations for dlsym()ed symbols 2022-07-17 17:23:42 -07:00
regex Remove configure probe for wctype.h. 2022-07-23 16:54:00 +12:00
replication Fix comment in walsender_private.h 2022-08-22 10:02:53 +09:00
rewrite Update copyright for 2022 2022-01-07 19:04:57 -05:00
snowball Update copyright for 2022 2022-01-07 19:04:57 -05:00
statistics Add stxdinherit flag to pg_statistic_ext_data 2022-01-16 13:38:01 +01:00
storage Remove configurability of PPC spinlock assembly code. 2022-08-13 13:36:39 -04:00
tcop Allow event trigger table_rewrite for ALTER MATERIALIZED VIEW 2022-08-17 14:55:20 +09:00
tsearch Remove configure probe for wctype.h. 2022-07-23 16:54:00 +12:00
utils Move a definition inside a header file 2022-08-19 11:20:09 +02:00
.gitignore Refactor dlopen() support 2018-09-06 11:33:04 +02:00
c.h Remove dummyret definition 2022-08-20 20:52:24 +02:00
fmgr.h Mark all symbols exported from extension libraries PGDLLEXPORT. 2022-07-17 18:50:14 -07:00
funcapi.h Create routine able to set single-call SRFs for Materialize mode 2022-03-07 10:26:29 +09:00
getopt_long.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
Makefile Install generated nodes/nodetags.h 2022-07-09 10:20:23 +02:00
miscadmin.h Process session_preload_libraries within InitPostgres's transaction. 2022-07-25 10:27:43 -04:00
pg_config_ext.h.in Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_manual.h Remove configurability of PPC spinlock assembly code. 2022-08-13 13:36:39 -04:00
pg_config.h.in Remove configure probes for sockaddr_storage members. 2022-08-22 17:50:30 +12:00
pg_getopt.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
pg_trace.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pgstat.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
pgtar.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pgtime.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
port.h Remove HAVE_UNIX_SOCKETS. 2022-08-14 08:46:53 +12:00
postgres_ext.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
postgres_fe.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
postgres.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
windowapi.h Update copyright for 2022 2022-01-07 19:04:57 -05:00