RE: Support logical replication of DDLs

Поиск
Список
Период
Сортировка
От houzj.fnst@fujitsu.com
Тема RE: Support logical replication of DDLs
Дата
Msg-id OS0PR01MB57168840ABFAB9E9BB28A54B94969@OS0PR01MB5716.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на Re: Support logical replication of DDLs  (shveta malik <shveta.malik@gmail.com>)
Ответы RE: Support logical replication of DDLs  ("houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>)
Re: Support logical replication of DDLs  (Peter Smith <smithpb2250@gmail.com>)
Список pgsql-hackers
On Tuesday, April 4, 2023 7:35 PM shveta malik <shveta.malik@gmail.com> wrote:
> 
> On Tue, Apr 4, 2023 at 8:43 AM houzj.fnst@fujitsu.com
> <houzj.fnst@fujitsu.com> wrote:
> 
> > Attach the new version patch set which did the following changes:
> >
> 
> Hello,
> 
> I tried below:
> pubnew=# ALTER PUBLICATION mypub2 SET (ddl = 'table'); ALTER
> PUBLICATION
> 
> pubnew=# \dRp+
>                                         Publication mypub2 Owner  | All tables
> | All DDLs | Table DDLs |
> --------+------------+----------+------------+---------
> shveta |         t          | f               | f
> (1 row)
> 
> I still see 'Table DDLs' as false and ddl replication did not work for this case.

Thanks for reporting.

Attach the new version patch which include the following changes:
* Fix the above bug for ALTER PUBLICATION SET.
* Modify the corresponding event trigger when user execute ALTER PUBLICATION SET to change the ddl option.
* Fix a miss in pg_dump's code which causes CFbot failure.
* Rebase the patch due to recent commit 4826759.

Best Regards,
Hou zj



Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: [PoC] pg_upgrade: allow to upgrade publisher node
Следующее
От: Kirk Wolak
Дата:
Сообщение: Re: Schema variables - new implementation for Postgres 15