How to find the database name during run-time

Поиск
Список
Период
Сортировка
От Dave Blasby
Тема How to find the database name during run-time
Дата
Msg-id 3B684350.45CA9812@refractions.net
обсуждение исходный текст
Список pgsql-hackers
I have a function (plpgsql) and would like it to have access to the name
of the current database.  Unfortunately, I dont know how to ask the
question.

I've look in the documentation, and I can get a list of possible
databases from pg_database, but I dont know which one I'm currently in.

dave


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

Предыдущее
От: Dave Blasby
Дата:
Сообщение: Accessing different databases in a cluster
Следующее
От: "Mikheev, Vadim"
Дата:
Сообщение: Using POSIX mutex-es