Re: How to determine current database?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to determine current database?
Дата
Msg-id 6896.1076719283@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to determine current database?  (Ron St-Pierre <rstpierre@syscor.com>)
Список pgsql-general
Ron St-Pierre <rstpierre@syscor.com> writes:
> 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).

See current_database():
http://www.postgresql.org/docs/7.4/static/functions-misc.html

            regards, tom lane

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

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