Thread: Streaming replication and slave-local temp tables

Streaming replication and slave-local temp tables

From
Ivan Voras
Date:
Hello,

Is it possible (or will it be possible) to issue CREATE TEMP TABLE statements on the read-only slave nodes in master-slave streaming replication in recent version of PostgreSQL (9.4+)?


Re: Streaming replication and slave-local temp tables

From
Pavel Stehule
Date:
Hi

2016-03-09 18:14 GMT+01:00 Ivan Voras <ivoras@gmail.com>:
Hello,

Is it possible (or will it be possible) to issue CREATE TEMP TABLE statements on the read-only slave nodes in master-slave streaming replication in recent version of PostgreSQL (9.4+)?

Currently it is not possible. There are two plans related to this issue: 1. global temp tables, 2. logical replication. The work on logical replication is near finalization and probably it will be available in 9.6.

Regards

Pavel