pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Avoid using DefElemAction in AlterPublicationStmt
Date: Mon, 03 Jan 2022 13:51:28 +0000
Message-ID: <E1n4NkG-0001ah-DD@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1n4NkG-0001ah-DD@gemulon.postgresql.org>
Permalink:  ../E1n4NkG-0001ah-DD@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1n4NkG-0001ah-DD@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Avoid using DefElemAction in AlterPublicationStmt
  In-Reply-To: <E1n4NkG-0001ah-DD@gemulon.postgresql.org>
  References: <E1n4NkG-0001ah-DD@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox