pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PALAYRET Jacques <jacques.palayret@meteo.fr>
To: pgsql-general@postgresql.org
Subject: Conditional column filtering with pglogical replication
Date: Fri, 23 Oct 2020 15:34:48 +0200 (CEST)
Message-ID: <1798752798.21016829.1603460088042.JavaMail.zimbra@meteo.fr> (raw)

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.palayret@meteo.fr 
Fixe : +33 561078319 

view thread (3+ messages)  latest in thread

Message-ID: <1798752798.21016829.1603460088042.JavaMail.zimbra@meteo.fr>
Permalink:  ../1798752798.21016829.1603460088042.JavaMail.zimbra@meteo.fr/
Also on:    postgresql.org/message-id/1798752798.21016829.1603460088042.JavaMail.zimbra@meteo.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: jacques.palayret@meteo.fr
  Subject: Re: Conditional column filtering with pglogical replication
  In-Reply-To: <1798752798.21016829.1603460088042.JavaMail.zimbra@meteo.fr>
  References: <1798752798.21016829.1603460088042.JavaMail.zimbra@meteo.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox