current host and dbname info

Поиск
Список
Период
Сортировка
От Joe Conway
Тема current host and dbname info
Дата
Msg-id 024c01c088ec$d200a190$0705a8c0@jecw2k1
обсуждение исходный текст
Ответ на Re: single byte unsigned integer datatype  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-sql
Hi,

I've been searching the docs and been unable to find the answer to this --
is there a way to get the current database server host tcpip address,
postmaster port, and database name from a SQL query?

I'd like to access those from within a plpgsql function without having to
create and populate some sort of identification table.

Thanks,

Joe




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

Предыдущее
От: John Reid
Дата:
Сообщение: Re: abstract data types?
Следующее
От: Christopher Sawtell
Дата:
Сообщение: Re: Re: Problem with Dates