postgresql/src/bin
Michael Paquier 18954ce7f6 psql: Sprinkle more CppAsString2() in describe.c
Like 91f5a4a000 for pg_amcheck, this makes the code more
self-documented as there is less need to look in the headers what a
hardcoded value means.  This touches queries related to procedures, AMs,
functions, databases, relations, constraints, collations, types and
extended stats, pulling into psql their *_d.h headers.  The queries are
written the same way as originally.

There are still a couple of hardcoded values.  These cannot be included
yet as they are not exposed in headers that are safe to use in frontend
code.

Note that describe.c was including pg_am.h that should be used only in
backend code.  This is updated to use pg_am_d.h.

Reviewed-by: Daniel Gustafsson, Corey Huinker
Discussion: https://postgr.es/m/Zxb2hpca-pZc6zKe@paquier.xyz
2024-11-29 08:53:09 +09:00
..
initdb initdb: Change default to using data checksums. 2024-10-16 08:48:10 +02:00
pg_amcheck pg_amcheck: Use CppAsString2() for relkind and relpersistence in queries 2024-11-26 09:45:34 +09:00
pg_archivecleanup Apply more quoting to GUC names in messages 2024-09-04 13:50:44 +09:00
pg_basebackup Remove unused #include's from bin .c files 2024-11-06 11:11:52 +01:00
pg_checksums Remove unused #include's from bin .c files 2024-11-06 11:11:52 +01:00
pg_combinebackup Clean up newlines following left parentheses 2024-11-26 17:10:07 +01:00
pg_config Remove unused #include's from bin .c files 2024-11-06 11:11:52 +01:00
pg_controldata Translation updates 2024-06-24 13:11:27 +02:00
pg_ctl Fix Y2038 issues with MyStartTime. 2024-10-07 13:51:03 -05:00
pg_dump Remove useless casts to (void *) 2024-11-28 08:27:20 +01:00
pg_resetwal Translation updates 2024-06-24 13:11:27 +02:00
pg_rewind Fix newly introduced 010_keep_recycled_wals.pl 2024-11-21 17:04:26 +01:00
pg_test_fsync Remove unused #include's from bin .c files 2024-11-06 11:11:52 +01:00
pg_test_timing Convert some extern variables to static 2024-07-02 07:26:22 +02:00
pg_upgrade Fix pg_upgrade's cross-version tests when old < 18 2024-11-13 11:06:44 +01:00
pg_verifybackup File size in a backup manifest should use uint64, not size_t. 2024-10-02 09:59:04 -04:00
pg_waldump Translation updates 2024-06-24 13:11:27 +02:00
pg_walsummary Remove unused #include's from bin .c files 2024-11-06 11:11:52 +01:00
pgbench pgbench: Ensure previous progress message is fully cleared when updating. 2024-11-27 23:01:53 +09:00
pgevent meson: Build pgevent as shared_module rather than shared_library 2024-11-26 18:09:05 +01:00
psql psql: Sprinkle more CppAsString2() in describe.c 2024-11-29 08:53:09 +09:00
scripts Remove unused #include's from bin .c files 2024-11-06 11:11:52 +01:00
Makefile Add new pg_walsummary tool. 2024-01-11 12:48:27 -05:00
meson.build Add new pg_walsummary tool. 2024-01-11 12:48:27 -05:00