Turn AT_PASS_* macros into an enum
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 1 Jan 2024 18:17:18 +0000 (19:17 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 1 Jan 2024 18:17:18 +0000 (19:17 +0100)
commitcea89c93a10216e54974764b40799ba7ceb6b920
tree255e5c388ea836a9fcb6a3e648f33647abaf16a5
parent1141e29b61e9bf82b045540d41b27581fc3207ec
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
src/backend/commands/tablecmds.c
src/tools/pgindent/typedefs.list