Re: How to determine current database?

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: How to determine current database?
Дата
Msg-id 402D62E9.6020708@joeconway.com
обсуждение исходный текст
Ответ на How to determine current database?  (Ron St-Pierre <rstpierre@syscor.com>)
Список pgsql-general
Ron St-Pierre wrote:

> I am using postgres 7.3.4 and need to be able to determine which
> database a query is being run in (from a script). pg_database lists
> databases but doesn't tell me which one is currently active.

See:
http://www.postgresql.org/docs/7.3/static/functions-misc.html

HTH,

Joe

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

Предыдущее
От: Ron St-Pierre
Дата:
Сообщение: How to determine current database?
Следующее
От: Eric Ridge
Дата:
Сообщение: Re: How to determine current database?