Determining database status

Поиск
Список
Период
Сортировка
От Michael Lush
Тема Determining database status
Дата
Msg-id Pine.LNX.4.64.0911031651070.30692@pigeon.ebi.ac.uk
обсуждение исходный текст
Список pgsql-novice
Is there a proper way to determine if a postgres database (8.2) is in
recovery mode?  (I'm looking at making a backup database that updates
nightly (as a protection vs brainstorm) and want to shut it down when its
not in use)

pg_ctl status just says its running and psql creates a /scary/ FATAL
error :-)

--
Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Michael John Lush PhD            Tel:44-1223 492626
Bioinformatician
HUGO Gene Nomenclature Committee    Email: hgnc@genenames.org
European Bioinformatics Institute
Hinxton, Cambridge
URL: http://www.genenames.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

Предыдущее
От: Richard Broersma
Дата:
Сообщение: Re: Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't get list of databases with \list
Следующее
От: Greg Stark
Дата:
Сообщение: Re: corrupt db