pgsql: Avoid using DefElemAction in AlterPublicationStmt - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Avoid using DefElemAction in AlterPublicationStmt
Date
Msg-id E1n4NkG-0001ah-DD@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9623d8999603dff84e7cb85caca2af82c5f67c8b

Modified Files
--------------
src/backend/commands/publicationcmds.c | 18 +++++++++---------
src/backend/parser/gram.y              |  6 +++---
src/include/nodes/parsenodes.h         | 11 +++++++++--
3 files changed, 21 insertions(+), 14 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: pg_stat_statements: Remove obsolete comment
Next
From: Tom Lane
Date:
Subject: pgsql: Use MaxLockMode symbol in more places.