Re: Add %r substitution for psql prompts to show recovery status

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Add %r substitution for psql prompts to show recovery status
Дата
Msg-id CAKFQuwZtSX-xx6g8PZfm0vWrXrK=D==9wRA3BcashT3Ucx8GuQ@mail.gmail.com
обсуждение исходный текст
Ответ на Add %r substitution for psql prompts to show recovery status  (Ian Barwick <ian.barwick@2ndquadrant.com>)
Список pgsql-hackers
On Wed, Dec 6, 2017 at 7:19 PM, Ian Barwick <ian.barwick@2ndquadrant.com> wrote:
A possible alternative would be only to check the status each time a new
database connection is made, but that wouldn't catch the case where the
server has been promoted.

​Can we cache a false pg_is_in_recovery response and return that instead of querying the server?

David J.

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

Предыдущее
От: legrand legrand
Дата:
Сообщение: Re: Partition-wise aggregation/grouping
Следующее
От: David Rowley
Дата:
Сообщение: Re: [HACKERS] Proposal: Local indexes for partitioned table