(update,delete触发,insert不触发)because it does not have a replica identity and publishes updates
Hint: To enable updating from the table, set REPLICA IDENTITY using ALTER TABLE
如果相关表涉及了逻辑复制,且对应表没有主键,则需要SET REPLICA IDENTITY(alter table xxx replica identity full),
集成任务的复制槽可以查询pg_replication_slots,发布可以查询pg_publication,发布的表可以查pg_publication_tables。
REPLICA IDENTITY:default,full,index indexname,nothing,通过pg_class的字段relreplident可以获取
添加发布表: alter publication pubname add table tablename; ---反之是drop,publication也支持disable和enable