Re: Column Filtering in Logical Replication

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, "houzj(dot)fnst(at)fujitsu(dot)com" <houzj(dot)fnst(at)fujitsu(dot)com>, Rahila Syed <rahilasyed90(at)gmail(dot)com>
Cc: Peter Smith <smithpb2250(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Column Filtering in Logical Replication
Date: 2021-12-30 20:21:28
Message-ID: 202112302021.ca7ihogysgh3@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 2021-Dec-29, Alvaro Herrera wrote:

> This new stuff is not yet finished. For example I didn't refactor
> handling of REPLICA IDENTITY, so the new command does not correctly
> check everything, such as the REPLICA IDENTITY FULL stuff. Also, no
> tests have been added yet. In manual tests it seems to behave as
> expected.

Fixing the lack of check for replica identity full didn't really require
much refactoring, so I did it that way.

I split it with some trivial fixes that can be committed separately
ahead of time. I'm thinking in committing 0001 later today, perhaps
0002 tomorrow. The interesting part is 0003.

Álvaro Herrera 39°49'30"S 73°17'W —

Attachment Content-Type Size
v13-0001-Small-cleanups-for-publicationcmds.c-and-pg_publ.patch text/x-diff 5.7 KB
v13-0002-change-use-of-DEFELEM-enum-to-a-new-one.patch text/x-diff 5.0 KB
v13-0003-Add-column-filtering-to-logical-replication.patch text/x-diff 73.2 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Melanie Plageman 2021-12-30 20:30:50 Re: pg_stat_bgwriter.buffers_backend is pretty meaningless (and more?)
Previous Message Thomas Munro 2021-12-30 20:01:51 Why is src/test/modules/committs/t/ flaky?