From: | li jie <ggysxcq(at)gmail(dot)com> |
---|---|
To: | Zheng Li <zhengli10(at)gmail(dot)com> |
Cc: | Ajin Cherian <itsajin(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, vignesh C <vignesh21(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-13 02:37:15 |
Message-ID: | CAGfChW4vxVCgWs2=b+SDag0j3G-3Aqw5XvKnHVAReB-iysyj+g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
I noticed that the issue of ownership seems to have not been considered.
For example, if a user 'a' from the publishing side creates a table t1,
the owner of t1 is not user 'a' after it is replicated to the subscribing side.
This is a situation that has not been encountered in previous DML replication.
I think the ownership relationship should not be lost,
and we should perhaps add it back,
like pg_dump "ALTER TABLE public.t1 OWNER TO a;",
even though we do not currently support the replication of USER.
Thought? li jie.
From | Date | Subject | |
---|---|---|---|
Next Message | higherone | 2022-12-13 08:28:40 | Re: Is there a way to know write statistics on an individual index |
Previous Message | Zheng Li | 2022-12-12 22:49:26 | Re: Support logical replication of DDLs |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Smith | 2022-12-13 03:33:51 | Re: Force streaming every change in logical decoding |
Previous Message | Takamichi Osumi (Fujitsu) | 2022-12-13 02:28:49 | RE: Time delayed LR (WAS Re: logical replication restrictions) |