{"id":8997,"date":"2022-05-17T21:06:14","date_gmt":"2022-05-18T02:06:14","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=8997"},"modified":"2022-05-17T21:26:37","modified_gmt":"2022-05-18T02:26:37","slug":"postgresql-logical-replication-row-filter","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=8997","title":{"rendered":"PostgreSQL Logical Replication &#8211; Row Filter"},"content":{"rendered":"<p>Researching something else about logical replication, I came across a <a href=\"https:\/\/git.postgresql.org\/gitweb\/?p=postgresql.git;a=commit;h=52e4f0cd472d39d07732b99559989ea3b615be78\" target=\"_blank\" rel=\"noopener\">commit message about row filtering on logical replication<\/a>. From the date of the commit, I expect this will be included in PostgreSQL 15.<\/p>\n<p>Adding a WHERE clause after the table name limits the rows that are included in the publication &#8212; you could publish employees in Vermont or only completed transactions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Researching something else about logical replication, I came across a commit message about row filtering on logical replication. From the date of the commit, I expect this will be included in PostgreSQL 15. Adding a WHERE clause after the table name limits the rows that are included in the publication &#8212; you could publish employees &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1522],"tags":[1348,1349,1580],"class_list":["post-8997","post","type-post","status-publish","format-standard","hentry","category-postgresql","tag-postgres","tag-postgresql","tag-postgresql-replication"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/8997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8997"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/8997\/revisions"}],"predecessor-version":[{"id":8998,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/8997\/revisions\/8998"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}