From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make more use of makeColumnDef()
Date: Tue, 29 Aug 2023 06:49:18 +0000
Message-ID: <E1qasXN-001U3F-Tv@gemulon.postgresql.org> (raw)
Make more use of makeColumnDef()
Since we already have it, we might as well make full use of it,
instead of assembling ColumnDef by hand in several places.
Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da@eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1fa9241bdd0e44d2b602b2dd4b6f0a4d0d402e76
Modified Files
--------------
src/backend/commands/sequence.c | 29 ++++++++-------------------
src/backend/commands/tablecmds.c | 15 ++------------
src/backend/parser/parse_utilcmd.c | 40 +++++++++-----------------------------
3 files changed, 19 insertions(+), 65 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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Make more use of makeColumnDef()
In-Reply-To: <E1qasXN-001U3F-Tv@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