pgsql: Extend pg_publication_tables to display column list and row filt - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Extend pg_publication_tables to display column list and row filt
Date
Msg-id E1nrWRR-0003J6-Hc@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Extend pg_publication_tables to display column list and row filt
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Update xml_1.out and xml_2.out
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Extend pg_publication_tables to display column list and row filt