pg_dump: Reorganize dumpBaseType()
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Dec 2020 03:37:40 +0000 (22:37 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Dec 2020 03:37:40 +0000 (22:37 -0500)
commit04732962462ba99cf8f8bcf6ac83932867cc96a8
treeaaa25a0f50c00d2fd4c9d42997d1dfd7106147da
parent51c388987734cb318c8fa875f382ca75a34d0010
pg_dump: Reorganize dumpBaseType()

Along the same lines as 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 is in preparation for adding
another dumpable field to pg_type.
src/bin/pg_dump/pg_dump.c