Re: row filtering for logical replication
От | Peter Smith |
---|---|
Тема | Re: row filtering for logical replication |
Дата | |
Msg-id | CAHut+PvKTyhTBtYCQsP6Ph7=o-oWRSX+v+PXXLXp81-o2bazig@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: row filtering for logical replication (Amit Kapila <amit.kapila16@gmail.com>) |
Ответы |
RE: row filtering for logical replication
|
Список | pgsql-hackers |
FYI, I was playing with row filters and partitions recently, and while doing something a bit unusual I received a cache leak warning. Below are the steps to reproduce it: test_pub=# CREATE TABLE parent(a int primary key) PARTITION BY RANGE(a); CREATE TABLE test_pub=# CREATE TABLE child PARTITION OF parent DEFAULT; CREATE TABLE test_pub=# CREATE PUBLICATION p4 FOR TABLE parent WHERE (a < 5), child WHERE (a >= 5) WITH (publish_via_partition_root=true); CREATE PUBLICATION test_pub=# ALTER PUBLICATION p4 SET TABLE parent, child WHERE (a >= 5); ALTER PUBLICATION test_pub=# ALTER PUBLICATION p4 SET (publish_via_partition_root = false); 2022-04-11 17:37:58.426 AEST [28152] WARNING: cache reference leak: cache pg_publication_rel (49), tuple 0/12 has count 1 WARNING: cache reference leak: cache pg_publication_rel (49), tuple 0/12 has count 1 ALTER PUBLICATION ------ Kind Regards, Peter Smith. Fujitsu Australia
В списке pgsql-hackers по дате отправления: