Re: Is there a way knowing which database I'm connecting to?

Поиск
Список
Период
Сортировка
От Tilo Schwarz
Тема Re: Is there a way knowing which database I'm connecting to?
Дата
Msg-id 200301251657.14421.mail@tilo-schwarz.de
обсуждение исходный текст
Ответ на Is there a way knowing which database I'm connecting to?  ("Frankie" <frankie@ucr.com.hk>)
Список pgsql-general
Frankie writes:
> Hi
>
> Is there a way knowing which database I'm connecting to, e.g. inside an
> ODBC connection?
> (or if there is any function can get the value of such environment
> variable?)
>
> Sorry I don't where to post this question, I guess here is the right place.
>
> Frankie

Maybe this helps:

PostgreSQL 7.3.1 Documentation
6.13. Miscellaneous Functions:

current_database() -> name of current database

Tilo

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

Предыдущее
От: =?iso-8859-9 ?q?=C7a=F0=FDl=20=DEeker?=
Дата:
Сообщение: pcap filter for postgresql authorization
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: drop table problem