From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Pg logical replication
Date: Tue, 11 Dec 2018 17:04:21 +0200
Message-ID: <cd52d8f0-951a-89e3-ac8a-e87de6e2229b@matrix.gatewaynet.com> (raw)
In-Reply-To: <45858D83-3300-4308-947E-C44A067480EA@webedia-group.com>
References: <45858D83-3300-4308-947E-C44A067480EA@webedia-group.com>
On 11/12/18 4:42 μ.μ., Mai Peng wrote:
> Hello,
> We would like to use temp table on our streaming slaves ( no possible).
> So we would like to replace replication streaming by logical replication ( all tables) .
That's possible, provided all tables have a valid default REPLICA IDENTITY (i.e. PK)
> Is possible to create a publication per schema even if there are some constraints between these schema ( check, domains )?
At the moment, (as of pgsql 11) you cannot specify a schema.
> How to handle DDL on schema on the slave ?
By hand, or by other means, logical replication won't do this for you.
>
> Thanks you in advance
--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: achill@matrix.gatewaynet.com, pgsql-admin@lists.postgresql.org
Subject: Re: Pg logical replication
In-Reply-To: <cd52d8f0-951a-89e3-ac8a-e87de6e2229b@matrix.gatewaynet.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