Avoid using DefElemAction in AlterPublicationStmt
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 3 Jan 2022 13:48:48 +0000 (10:48 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 3 Jan 2022 13:48:48 +0000 (10:48 -0300)
commit9623d8999603dff84e7cb85caca2af82c5f67c8b
tree74a37f0956ecd178aac109971713f126b5b52e1a
parent234ba62769990fcce52003b1b3f4fe2c521bb622
Avoid using DefElemAction in AlterPublicationStmt

Create a new enum type for it.  This allows to add new values for future
functionality without disrupting unrelated uses of DefElem.

Discussion: https://postgr.es/m/202112302021.ca7ihogysgh3@alvherre.pgsql
src/backend/commands/publicationcmds.c
src/backend/parser/gram.y
src/include/nodes/parsenodes.h