Streaming replication and slave-local temp tables

Started by Ivan Vorasabout 10 years ago2 messagesgeneral
Jump to latest
#1Ivan 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+)?

#2Pavel Stehule
pavel.stehule@gmail.com
In reply to: Ivan Voras (#1)
Re: Streaming replication and slave-local temp tables

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