Re: Patch: Implement failover on libpq connect level.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Patch: Implement failover on libpq connect level.
Дата
Msg-id 20161115181423.dcfvuzou4xc6i2bg@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Patch: Implement failover on libpq connect level.  (Catalin Iacob <iacobcatalin@gmail.com>)
Список pgsql-hackers
Catalin Iacob wrote:
> On Tue, Nov 15, 2016 at 3:42 PM, Alvaro Herrera
> <alvherre@2ndquadrant.com> wrote:
> > FWIW I'm not sure "primary" is the right term here either.  I think what
> > we really want to know is whether the node can accept writes; maybe
> > "pg_is_writable_node".
> 
> This made me think of another complication: what about cascading
> replication where the middle node is both a master and a slave? You'd
> probably not want to fallback to the middle node even though it is a
> master for its downstream.

Exactly my thought, hence the above suggestion.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: postgres_fdw and defaults
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Snapshot too old logging