pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Extend pg_publication_tables to display column list and row filt
Date: Thu, 19 May 2022 03:03:09 +0000
Message-ID: <E1nrWRR-0003J6-Hc@gemulon.postgresql.org> (raw)

Extend pg_publication_tables to display column list and row filter.

Commit 923def9a53 and 52e4f0cd47 allowed to specify column lists and row
filters for publication tables. This commit extends the
pg_publication_tables view and pg_get_publication_tables function to
display that information.

This information will be useful to users and we also need this for the
later commit that prohibits combining multiple publications with different
column lists for the same table.

Author: Hou Zhijie
Reviewed By: Amit Kapila, Alvaro Herrera, Shi Yu, Takamichi Osumi
Discussion: https://postgr.es/m/202204251548.mudq7jbqnh7r@alvherre.pgsql

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/catalogs.sgml                  | 27 +++++++++++++--
src/backend/catalog/pg_publication.c        | 54 +++++++++++++++++++++++++++--
src/backend/catalog/system_views.sql        | 10 +++++-
src/backend/replication/logical/tablesync.c | 14 +++-----
src/include/catalog/catversion.h            |  2 +-
src/include/catalog/pg_proc.dat             |  8 ++---
src/test/regress/expected/publication.out   | 42 +++++++++++-----------
src/test/regress/expected/rules.out         | 13 +++++--
8 files changed, 126 insertions(+), 44 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1nrWRR-0003J6-Hc@gemulon.postgresql.org>
Permalink:  ../E1nrWRR-0003J6-Hc@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nrWRR-0003J6-Hc@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: akapila@postgresql.org
  Subject: Re: pgsql: Extend pg_publication_tables to display column list and row filt
  In-Reply-To: <E1nrWRR-0003J6-Hc@gemulon.postgresql.org>
  References: <E1nrWRR-0003J6-Hc@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