Re: Support logical replication of DDLs

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: li jie <ggysxcq(at)gmail(dot)com>
Cc: vignesh C <vignesh21(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Zheng Li <zhengli10(at)gmail(dot)com>, Ajin Cherian <itsajin(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, "houzj(dot)fnst(at)fujitsu(dot)com" <houzj(dot)fnst(at)fujitsu(dot)com>, Peter Smith <smithpb2250(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-09 10:36:05
Message-ID: CAA4eK1KPF_PFSuAzoXPFeLprkhyX0EtxeJK1+Fgq-wu-Byxprw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Fri, Dec 9, 2022 at 8:57 AM li jie <ggysxcq(at)gmail(dot)com> wrote:
>
> It is worth considering whether temporary objects, such as tables,
> indexes, and sequences,
> should be replicated to the subscriber side.
>
> Like temp tables, different sessions create their own temp tables.
> If they are all transferred to the subscriber side, there will
> inevitably be errors,
> because there is only one subscription session.
>
> I think temporary objects should not be part of replication because
> they are visible within the session.
> replicate them over would not make them visible to the user and would
> not be meaningful.
>

I also don't think we should replicate temp tables. We anyway don't
replicate their data.

--
With Regards,
Amit Kapila.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Wen Yi 2022-12-10 00:23:22 [Beginner Question]How can I use the yacc & lex in right way?
Previous Message Mateusz Henicz 2022-12-09 10:11:36 Re: configure a patroni cluster with a follower who never can become leader

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2022-12-09 10:49:47 Re: generic plans and "initial" pruning
Previous Message Amit Langote 2022-12-09 10:34:21 Re: generic plans and "initial" pruning