Re: Support logical replication of DDLs

From: vignesh C <vignesh21(at)gmail(dot)com>
To: Zheng Li <zhengli10(at)gmail(dot)com>
Cc: 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>, Peter Smith <smithpb2250(at)gmail(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-10-27 10:32:21
Message-ID: CALDaNm3US8AysFPf6f6vLSct60fQuyN7g5TvQTQ0RR2O8tA3tw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Thu, 27 Oct 2022 at 02:09, Zheng Li <zhengli10(at)gmail(dot)com> wrote:
>
> > Adding support for deparsing of CREATE/ALTER/DROP LANGUAGE for ddl replication.
>
> Adding support for deparsing of:
> COMMENT
> ALTER DEFAULT PRIVILEGES
> CREATE/DROP ACCESS METHOD

Adding support for deparsing of:
ALTER/DROP ROUTINE

The patch also includes fixes for the following issues:
ALTER FUNCTION with function arguments
Setting "RETURNS NULL ON NULL INPUT"
Setting "SECURITY DEFINER"
Setting "SECURITY INVOKER"
Setting "LEAKPROOF"
Setting "NOT LEAKPROOF"

Regards,
Vignesh

Attachment Content-Type Size
v33-0001-Functions-to-deparse-DDL-commands.patch text/x-patch 317.8 KB
v33-0002-Support-DDL-replication.patch text/x-patch 133.1 KB
v33-0003-Support-CREATE-TABLE-AS-SELECT-INTO.patch text/x-patch 15.0 KB
v33-0004-Test-cases-for-DDL-replication.patch text/x-patch 24.6 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kristjan Mustkivi 2022-10-27 12:07:06 Re: Index corruption revealed after upgrade to 11.17, could date back to at least 11.12
Previous Message Allan Kamau 2022-10-27 09:29:58 Re: Index corruption revealed after upgrade to 11.17, could date back to at least 11.12

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2022-10-27 11:09:42 Code checks for App Devs, using new options for transaction behavior
Previous Message Richard Guo 2022-10-27 10:06:45 Avoid using list_delete_first in simplify_or/and_arguments