From: Frank Alberto Rodriguez <franknigth@gmail.com>
To: PALAYRET Jacques <jacques.palayret@meteo.fr>
To: pgsql-general@lists.postgresql.org
Subject: Re: One way replication in PostgreSQL
Date: Mon, 03 Jun 2019 23:39:54 +0000
Message-ID: <0f0d4d7e17496bcc162ffd22ed1eb92484fe38c0.camel@gmail.com> (raw)
In-Reply-To: <1327243218.9378445.1559577651466.JavaMail.zimbra@meteo.fr>
References: <1327243218.9378445.1559577651466.JavaMail.zimbra@meteo.fr>
You could use FDW to replicate what you need to an external server from
the provider/primary/master to the subscriber/secondary/slaveUsing
triggers on the master tables that you want to replicate, you can
execute the insert/update/delete actions on the secondary tables
through the FDW.With this approach you only need a connection from
provider to the subscriber.
Regards On Mon, 2019-06-03 at 18:00 +0200, PALAYRET Jacques wrote:
> Hello,
>
> If, for security reasons, I can't create a connection or a flow from
> subscriber/secundary/slave towards provider/primary/master, witch
> replication systems can I use ?
>
> If possible, I would prefer partial replication (only some tables) to
> full base replication (all instances).
>
> Do trigger-based replication systems (like Slony or Londiste or
> others) need a connection or flow from subscriber to the provider ?
>
> Thanks in advance
> ----- Météo-France -----
> PALAYRET JACQUES
> DCSC/MBD
> jacques.palayret@meteo.fr
> Fixe : +33 561078319
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: franknigth@gmail.com, jacques.palayret@meteo.fr
Subject: Re: One way replication in PostgreSQL
In-Reply-To: <0f0d4d7e17496bcc162ffd22ed1eb92484fe38c0.camel@gmail.com>
References: <1327243218.9378445.1559577651466.JavaMail.zimbra@meteo.fr> <0f0d4d7e17496bcc162ffd22ed1eb92484fe38c0.camel@gmail.com>
* 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