postgresql/src/include
Peter Eisentraut 74938d1320 IWYU widely useful pragmas
Add various widely useful "IWYU pragma" annotations, such as

- Common header files such as c.h, postgres.h should be "always_keep".

- System headers included in c.h, postgres.h etc. should be considered
  "export".

- Some portability headers such as getopt_long.h should be
  "always_keep", so they are not considered superfluous on some
  platforms.

- Certain system headers included from portability headers should be
  considered "export" because the purpose of the portability header is
  to wrap them.

- Superfluous includes marked as "for backward compatibility" get a
  formal IWYU annotation.

- Generated header included in utils/syscache.h is marked exported.
  This is a very commonly used include and this avoids lots of
  complaints.

Discussion: https://www.postgresql.org/message-id/flat/9395d484-eff4-47c2-b276-8e228526c8ae@eisentraut.org
2025-01-15 18:57:53 +01:00
..
access Change gist stratnum function to use CompareType 2025-01-15 11:34:04 +01:00
archive Update copyright for 2025 2025-01-01 11:21:55 -05:00
backup Update copyright for 2025 2025-01-01 11:21:55 -05:00
bootstrap Update copyright for 2025 2025-01-01 11:21:55 -05:00
catalog Change gist stratnum function to use CompareType 2025-01-15 11:34:04 +01:00
commands Change gist stratnum function to use CompareType 2025-01-15 11:34:04 +01:00
common Update copyright for 2025 2025-01-01 11:21:55 -05:00
datatype Update copyright for 2025 2025-01-01 11:21:55 -05:00
executor Rename RowCompareType to CompareType 2025-01-15 08:44:01 +01:00
fe_utils Update copyright for 2025 2025-01-01 11:21:55 -05:00
foreign Update copyright for 2025 2025-01-01 11:21:55 -05:00
jit Fix an assortment of spelling mistakes and typos 2025-01-02 12:42:01 +13:00
lib Add new StringInfo APIs to allow callers to specify the buffer size. 2025-01-11 08:23:46 +09:00
libpq postgres_fdw: SCRAM authentication pass-through 2025-01-15 17:58:05 +01:00
mb Update copyright for 2025 2025-01-01 11:21:55 -05:00
nodes Change gist stratnum function to use CompareType 2025-01-15 11:34:04 +01:00
optimizer Update copyright for 2025 2025-01-01 11:21:55 -05:00
parser Add support for NOT ENFORCED in CHECK constraints 2025-01-11 10:52:30 +01:00
partitioning Update copyright for 2025 2025-01-01 11:21:55 -05:00
pch Update copyright for 2025 2025-01-01 11:21:55 -05:00
port IWYU widely useful pragmas 2025-01-15 18:57:53 +01:00
portability Update copyright for 2025 2025-01-01 11:21:55 -05:00
postmaster Allow changing autovacuum_max_workers without restarting. 2025-01-06 15:01:22 -06:00
regex Update copyright for 2025 2025-01-01 11:21:55 -05:00
replication Update copyright for 2025 2025-01-01 11:21:55 -05:00
rewrite Update copyright for 2025 2025-01-01 11:21:55 -05:00
snowball Update copyright for 2025 2025-01-01 11:21:55 -05:00
statistics Update copyright for 2025 2025-01-01 11:21:55 -05:00
storage Use a non-locking initial test in TAS_SPIN on AArch64. 2025-01-10 13:18:04 -06:00
tcop Update copyright for 2025 2025-01-01 11:21:55 -05:00
tsearch Update copyright for 2025 2025-01-01 11:21:55 -05:00
utils IWYU widely useful pragmas 2025-01-15 18:57:53 +01:00
.gitignore Use <stdint.h> and <inttypes.h> for c.h integers. 2024-12-04 15:05:38 +13:00
c.h IWYU widely useful pragmas 2025-01-15 18:57:53 +01:00
fmgr.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
funcapi.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
getopt_long.h IWYU widely useful pragmas 2025-01-15 18:57:53 +01:00
Makefile Use <stdint.h> and <inttypes.h> for c.h integers. 2024-12-04 15:05:38 +13:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
miscadmin.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
pg_config.h.in Use <stdint.h> and <inttypes.h> for c.h integers. 2024-12-04 15:05:38 +13:00
pg_config_manual.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
pg_getopt.h IWYU widely useful pragmas 2025-01-15 18:57:53 +01:00
pg_trace.h IWYU widely useful pragmas 2025-01-15 18:57:53 +01:00
pgstat.h IWYU widely useful pragmas 2025-01-15 18:57:53 +01:00
pgtar.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
pgtime.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
port.h Avoid symbol collisions between pqsignal.c and legacy-pqsignal.c. 2025-01-14 18:50:24 -05:00
postgres.h IWYU widely useful pragmas 2025-01-15 18:57:53 +01:00
postgres_ext.h IWYU widely useful pragmas 2025-01-15 18:57:53 +01:00
postgres_fe.h IWYU widely useful pragmas 2025-01-15 18:57:53 +01:00
varatt.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
windowapi.h Update copyright for 2025 2025-01-01 11:21:55 -05:00