Thread: pgsql: Turn AT_PASS_* macros into an enum

pgsql: Turn AT_PASS_* macros into an enum

From
Peter Eisentraut
Date:
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.gmail.com

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(-)