Re: host name?

Поиск
Список
Период
Сортировка
От Achilleas Mantzios
Тема Re: host name?
Дата
Msg-id 200702271015.35320.achill@matrix.gatewaynet.com
обсуждение исходный текст
Ответ на Re: host name?  ("Igor Neyman" <ineyman@perceptron.com>)
Список pgsql-admin
Στις Δευτέρα 26 Φεβρουάριος 2007 18:20, ο/η Igor Neyman έγραψε:
> And one more question.
> Is there a way (function/view) to find machine name on which user
> program (connected to Postgres) runs?

You could write a stored procedure
in plsh which simply returns the result of /bin/hostname


>
> Igor
>
> ________________________________
>
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Igor Neyman
> Sent: Monday, February 26, 2007 10:29 AM
> To: pgsql-admin@postgresql.org
> Subject: [ADMIN] host name?
>
>
> Is there a function (or catalog view) that I can call in psql and that
> will tell me host name of the machine on which Postgres database is
> running?
>
> Igor

--
Achilleas Mantzios

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

Предыдущее
От: "Anu Gupta DCSA"
Дата:
Сообщение: A Reminder : A Survey on Defect Management Practices in Free/Open Source Software
Следующее
От: Johann Spies
Дата:
Сообщение: Warm standby