Re: write on standby

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: write on standby
Дата
Msg-id 24a705d3-4fc0-c771-589c-895915946cdf@aklaver.com
обсуждение исходный текст
Ответ на write on standby  (Julie Nishimura <juliezain@hotmail.com>)
Список pgsql-general
On 3/5/19 3:34 PM, Julie Nishimura wrote:
> Hello there,
> Is it possible for a test app to connect to the standby dB of an 
> active-Standby dB pair?  While both continue to be connected and 
> replicating? What if it’s needed to write tmp tables that are later 
> dropped? Can it be done in hot standby scenario on standby? Version is 9.6.2

No:

https://www.postgresql.org/docs/9.6/hot-standby.html

26.5.1. User's Overview

In particular:

"Data Definition Language (DDL) - CREATE, DROP, ALTER, COMMENT. This 
restriction applies even to temporary tables, because carrying out these 
operations would require updating the system catalog tables."

> 
> Thanks


-- 
Adrian Klaver
adrian.klaver@aklaver.com


В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: [External] LIMIT not showing all results
Следующее
От: Matthew Pounsett
Дата:
Сообщение: Re: [External] LIMIT not showing all results