From: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
Cc: | Zheng Li <zhengli10(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, rajesh(dot)rs0541(at)gmail(dot)com |
Subject: | Re: Support logical replication of DDLs |
Date: | 2022-04-11 05:04:18 |
Message-ID: | CAA4eK1Ljft2OSD1=+Ptx6GKKU76KHZW+R10GdTqvhPrLn1JsDA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Fri, Apr 8, 2022 at 5:04 PM Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
>
> On 2022-Apr-08, Amit Kapila wrote:
>
>
> > For runtime conditions, one of the things you have mentioned in that
> > thread is to add schema name in the statement at the required places
> > which this patch deals with in a different way by explicitly sending
> > it along with the DDL statement.
>
> Hmm, ok. The point of the JSON-blob route is that the publisher sends a
> command representation that can be parsed/processed/transformed
> arbitrarily by the subscriber using generic rules; it should be trivial
> to use a JSON tool to change schema A to schema B in any arbitrary DDL
> command, and produce another working DDL command without having to know
> how to write that command specifically. So if I have a rule that
> "schema A there is schema B here", all DDL commands can be replayed with
> no further coding (without having to rely on getting the run-time
> search_path correct.)
>
Okay, thanks for the clarification.
--
With Regards,
Amit Kapila.
From | Date | Subject | |
---|---|---|---|
Next Message | PALAYRET Jacques | 2022-04-11 08:00:15 | Re: PostgreSQL : error hint for LATERAL join |
Previous Message | Amit Kapila | 2022-04-11 05:00:43 | Re: Support logical replication of DDLs |
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Langote | 2022-04-11 05:41:16 | Re: ExecRTCheckPerms() and many prunable partitions |
Previous Message | Amit Kapila | 2022-04-11 05:00:43 | Re: Support logical replication of DDLs |