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: Add PublicationTable and PublicationRelInfo structs
Date: Mon, 06 Sep 2021 17:37:42 +0000
Message-ID: <E1mNIYw-000498-EL@gemulon.postgresql.org> (raw)

Add PublicationTable and PublicationRelInfo structs

These encapsulate a relation when referred from replication DDL.
Currently they don't do anything useful (they're just wrappers around
RangeVar and Relation respectively) but in the future they'll be used to
carry column lists.

Extracted from a larger patch by Rahila Syed.

Author: Rahila Syed <rahilasyed90@gmail.com>
Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Reviewed-by: Tomas Vondra <tomas.vondra@enterprisedb.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://postgr.es/m/CAH2L28vddB_NFdRVpuyRBJEBWjz4BSyTB=_ektNRH8NJ1jf95g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0c6828fa987b791744b9c8685aadf1baa21f8977

Modified Files
--------------
src/backend/catalog/pg_publication.c   | 10 +++----
src/backend/commands/publicationcmds.c | 53 ++++++++++++++++++++++------------
src/backend/nodes/copyfuncs.c          | 12 ++++++++
src/backend/nodes/equalfuncs.c         | 11 +++++++
src/backend/parser/gram.y              | 26 +++++++++++++----
src/include/catalog/pg_publication.h   |  7 ++++-
src/include/nodes/nodes.h              |  1 +
src/include/nodes/parsenodes.h         |  5 ++++
src/tools/pgindent/typedefs.list       |  1 +
9 files changed, 95 insertions(+), 31 deletions(-)



Message-ID: <E1mNIYw-000498-EL@gemulon.postgresql.org>
Permalink:  ../E1mNIYw-000498-EL@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mNIYw-000498-EL@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: Add PublicationTable and PublicationRelInfo structs
  In-Reply-To: <E1mNIYw-000498-EL@gemulon.postgresql.org>
  References: <E1mNIYw-000498-EL@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