pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Turn AT_PASS_* macros into an enum
Date: Mon, 01 Jan 2024 20:09:24 +0000
Message-ID: <E1rKObD-00D0qe-Q7@gemulon.postgresql.org> (raw)

Turn AT_PASS_* macros into an enum

This make this code simpler and easier to follow.  Also, patches that
want to change the passes won't have to renumber the whole list.

Reviewed-by: Amul Sul <sulamul@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAAJ_b94yyJeGA-5M951_Lr+KfZokOp-2kXicpmEhi5FXhBeTog@mail....

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cea89c93a10216e54974764b40799ba7ceb6b920

Modified Files
--------------
src/backend/commands/tablecmds.c | 55 +++++++++++++++++++++-------------------
src/tools/pgindent/typedefs.list |  1 +
2 files changed, 30 insertions(+), 26 deletions(-)



Message-ID: <E1rKObD-00D0qe-Q7@gemulon.postgresql.org>
Permalink:  ../E1rKObD-00D0qe-Q7@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rKObD-00D0qe-Q7@gemulon.postgresql.org

 · 

reply

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: Turn AT_PASS_* macros into an enum
  In-Reply-To: <E1rKObD-00D0qe-Q7@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