Re: Support logical replication of DDLs

From: Zheng Li <zhengli10(at)gmail(dot)com>
To: Euler Taveira <euler(at)eulerto(dot)com>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, japin <japinli(at)hotmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, 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-04-11 17:36:42
Message-ID: CAAD30UKtDOmjMOyXG6bhpKj9eswQ31scPR50Ne37AfUfEhKb8A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> I'm planning to work on the initial DDL replication. I'll open a new thread as
> soon as I write a design for it. Just as an example, the pglogical approach is
> to use pg_dump behind the scenes to provide the schema [1]. It is a reasonable
> approach but an optimal solution should be an API to provide the initial DDL
> commands. I mean the main point of this feature is to have an API to create an
> object that the logical replication can use it for initial schema
> synchronization. This "DDL to create an object" was already discussed in the
> past [2].

Nice! I think automatic initial schema synchronization for replication
is a very useful feature.

Regards,
Zheng

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2022-04-11 23:10:27 How easy is it to lose permissions in 'public' schema?
Previous Message Zheng Li 2022-04-11 17:31:17 Re: Support logical replication of DDLs

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2022-04-11 17:59:08 Re: typos
Previous Message Euler Taveira 2022-04-11 17:32:53 Re: PG DOCS - logical replication filtering