Re: Does PG have a database

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: Does PG have a database
Дата
Msg-id 4471FA71.1050607@logix-tt.com
обсуждение исходный текст
Ответ на Does PG have a database  (Mark Fenbers <Mark.Fenbers@noaa.gov>)
Список pgsql-sql
Hi, Mark,

Mark Fenbers schrieb:

> Bottom line:  What trick can I use to determine whether a box has a
> living, breathing Pg database if I don't know the DB owner?

If all your Postmasters run on the default port, use nmap on the port,
so you see that postmasters are running there. When they run, then there
must be a cluster with databases, at least the template ones.

If your "baseline distro" is debian, ssh into the machines, and do
pg_lsclusters.

HTH,
Markus


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

Предыдущее
От: Mark Fenbers
Дата:
Сообщение: Does PG have a database
Следующее
От: Manlio Perillo
Дата:
Сообщение: Re: Does PG have a database