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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Add %r substitution for psql prompts to show recovery status
Дата
Msg-id CA+TgmoZkyE_UXn5k6eSaxyXX+2UOzkoqSmLGmF_yMb2k+CMXrQ@mail.gmail.com
обсуждение исходный текст
Ответ на Add %r substitution for psql prompts to show recovery status  (Ian Barwick <ian.barwick@2ndquadrant.com>)
Ответы Re: Add %r substitution for psql prompts to show recovery status  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Список pgsql-hackers
On Wed, Dec 6, 2017 at 9:19 PM, Ian Barwick <ian.barwick@2ndquadrant.com> wrote:
> Note this substitution sends a "pg_is_in_recovery()" query to the server
> each time it's encountered; unless there's something I'm overlooking I
> think that's the only reliable way to determine current recovery status.

That seems kinda painful.

And what happens in an aborted transaction?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

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