Re: Support logical replication of DDLs

From: Zheng Li <zhengli10(at)gmail(dot)com>
To: vignesh C <vignesh21(at)gmail(dot)com>
Cc: li jie <ggysxcq(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, Ajin Cherian <itsajin(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, "houzj(dot)fnst(at)fujitsu(dot)com" <houzj(dot)fnst(at)fujitsu(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Japin Li <japinli(at)hotmail(dot)com>, rajesh singarapu <rajesh(dot)rs0541(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Support logical replication of DDLs
Date: 2022-12-28 22:42:43
Message-ID: CAAD30ULrZB-RNmuD3NMr1jGNUt15ZpPgFdFRX53HbcAB76hefw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

>- CreatePublication has a long list of command tags; is that good?
>Maybe it'd be better to annotate the list in cmdtaglist.h somehow.

I've addressed this comment by introducing a new flag ddlreplok in the
PG_CMDTAG macro and modified CreatePublication accordingly.

Regards,
Zane

Attachment Content-Type Size
v58-0004-DDL-messaging-infrastructure-for-DDL-replication.patch application/octet-stream 41.5 KB
v58-0003-Introduce-the-test_ddl_deparse_regress-test-module.patch application/octet-stream 44.8 KB
v58-0005-Support-DDL-replication.patch application/octet-stream 187.6 KB
v58-0001-Infrastructure-to-support-DDL-deparsing.patch application/octet-stream 32.6 KB
v58-0002-Functions-to-deparse-DDL-commands.patch application/octet-stream 301.1 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Zheng Li 2022-12-28 22:50:48 Re: Support logical replication of DDLs
Previous Message Adrian Klaver 2022-12-28 17:45:58 Re: Regd. the Query w.r.t Alternative functionalities from Oracle  PostgreSQL (Oracle to PostgreSQL database migration)

Browse pgsql-hackers by date

  From Date Subject
Next Message Zheng Li 2022-12-28 22:50:48 Re: Support logical replication of DDLs
Previous Message Tom Lane 2022-12-28 22:05:39 Re: BUG #17717: Regression in vacuumdb (15 is slower than 10/11 and possible memory issue)