postgresql/src/bin
Tom Lane 4438eb4a49 pg_dump: Reorganize getTables()
Along the same lines as 047329624, ed2c7f65b and daa9fe8a5, reduce
code duplication by having just one copy of the parts of the query
that are the same across all server versions; and make the
conditionals control the smallest possible amount of code.
This also gets rid of the confusing assortment of different ways
to accomplish the same result that we had here before.

While at it, make sure all three relevant parts of the function
list the fields in the same order.  This is just neatnik-ism,
of course.

Discussion: https://postgr.es/m/1240992.1634419055@sss.pgh.pa.us
2021-10-19 17:22:22 -04:00
..
initdb Update our mapping of Windows time zone names some more. 2021-10-04 14:52:39 -04:00
pg_amcheck Remove unstable pg_amcheck tests. 2021-10-14 14:50:26 -07:00
pg_archivecleanup Add more $Test::Builder::Level in the TAP tests 2021-10-12 11:15:44 +09:00
pg_basebackup Fix sscanf limits in pg_basebackup and pg_dump 2021-10-19 12:59:50 +02:00
pg_checksums Fix some issues with TAP tests for postgres -C 2021-09-22 10:13:38 +09:00
pg_config Translation updates 2021-06-21 12:33:50 +02:00
pg_controldata Unify PostgresNode's new() and get_new_node() methods 2021-07-29 05:58:08 -04:00
pg_ctl Add more $Test::Builder::Level in the TAP tests 2021-10-12 11:15:44 +09:00
pg_dump pg_dump: Reorganize getTables() 2021-10-19 17:22:22 -04:00
pg_resetwal pg_resetwal: Improve numeric command-line argument parsing 2021-08-20 10:51:59 +02:00
pg_rewind Fix incorrect format placeholders 2021-09-15 09:19:01 +02:00
pg_test_fsync Support direct I/O on macOS. 2021-07-19 11:01:01 +12:00
pg_test_timing Translation updates 2021-06-21 12:33:50 +02:00
pg_upgrade Fix tests of pg_upgrade across different major versions 2021-10-13 09:22:00 +09:00
pg_verifybackup Add more $Test::Builder::Level in the TAP tests 2021-10-12 11:15:44 +09:00
pg_waldump Remove some unnecessary casts in format arguments 2021-08-08 22:08:07 +02:00
pgbench Fix incorrect format placeholder 2021-10-13 08:20:59 +02:00
pgevent Update copyright for 2021 2021-01-02 13:06:25 -05:00
psql Fix portability issues in new TAP tests of psql 2021-10-18 09:51:21 +09:00
scripts Unify PostgresNode's new() and get_new_node() methods 2021-07-29 05:58:08 -04:00
Makefile Add pg_amcheck, a CLI for contrib/amcheck. 2021-03-12 13:00:01 -05:00