pgsql: Turn AT_PASS_* macros into an enum
Started by Peter Eisentrautover 2 years ago1 messagescomitters
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: /messages/by-id/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(-)