pgsql: Avoid using DefElemAction in AlterPublicationStmt

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Avoid using DefElemAction in AlterPublicationStmt
Date: 2022-01-03 13:51:28
Message-ID: E1n4NkG-0001ah-DD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-01-03 17:24:52 pgsql: Use MaxLockMode symbol in more places.
Previous Message Michael Paquier 2022-01-03 08:35:23 pgsql: pg_stat_statements: Remove obsolete comment