Conditional column filtering with pglogical replication

From: PALAYRET Jacques <jacques(dot)palayret(at)meteo(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Conditional column filtering with pglogical replication
Date: 2020-10-23 13:34:48
Message-ID: 1798752798.21016829.1603460088042.JavaMail.zimbra@meteo.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

With PgLogical extension, I have tested the possibility of column filtering (columns) and row filtering (row_filter).
But is there a way to do a conditional column filtering ?
I mean a way to filter a column based on a predicate, with pglogical (so the filtered values won’t arrive on subscribers).
For example, with a replicated table t(a integer as Primary Key, b numeric, c integer, d text), I would like to filter the column b when c between 10 and 20.

Regards
----- Météo-France -----
PALAYRET JACQUES
DCSC/MBD
jacques(dot)palayret(at)meteo(dot)fr
Fixe : +33 561078319

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2020-10-23 13:39:36 Re: Hot backup in PostgreSQL
Previous Message Philip Semanchuk 2020-10-23 13:01:03 Re: postgres materialized view refresh performance