Re: How to tell if server is in backup mode?

Поиск
Список
Период
Сортировка
От Gabriele Bartolini
Тема Re: How to tell if server is in backup mode?
Дата
Msg-id 4F742155.8050000@2ndQuadrant.it
обсуждение исходный текст
Ответ на How to tell if server is in backup mode?  (Toby Corkindale <toby.corkindale@strategicdata.com.au>)
Ответы Re: How to tell if server is in backup mode?  (Gabriele Bartolini <gabriele.bartolini@2ndQuadrant.it>)
Список pgsql-general
Hi Toby,

Il 28/03/12 09:14, Toby Corkindale ha scritto:
> Is there any function like pg_is_in_backup() to tell if the mode has
> been enabled?

Currently, there's no such a function. In general we simply check if a
'backup_label' file exists in PGDATA. However, it could be a good idea
to add it as admin function (I will have a think about it and possibly
come up with a patch).

Ciao,
Gabriele

--
  Gabriele Bartolini - 2ndQuadrant Italia
  PostgreSQL Training, Services and Support
  gabriele.bartolini@2ndQuadrant.it | www.2ndQuadrant.it


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

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Query regarding submission on To Do item for psql client "psql : Allow processing of multiple -f (file) options "
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: PG Log