From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_dump: Reorganize dumpBaseType()
Date: Mon, 07 Dec 2020 03:38:04 +0000
Message-ID: <E1km7Lg-0004BX-KY@gemulon.postgresql.org> (raw)
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.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/04732962462ba99cf8f8bcf6ac83932867cc96a8
Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 110 ++++++++++++++++------------------------------
1 file changed, 39 insertions(+), 71 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: pg_dump: Reorganize dumpBaseType()
In-Reply-To: <E1km7Lg-0004BX-KY@gemulon.postgresql.org>
References: <E1km7Lg-0004BX-KY@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox