Re: current_database()

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: current_database()
Дата
Msg-id 1028683148.93791.11.camel@jester
обсуждение исходный текст
Ответ на current_database()  (Rod Taylor <rbt@zort.ca>)
Ответы Re: current_database()  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
On Tue, 2002-08-06 at 21:15, Rod Taylor wrote:
> Quick system function to pull out the current database.
>
> I've used this a number of times to allow stored procedures to find out
> where they are.  Especially useful for those that do logging or hit a
> remote server.
>
> It's called current_database() to match with current_user().

It's also a necessity for an informational schema.  The catalog
(database) name is required in a number of places.


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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Foreign key in pg_dump / psql
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: CLUSTER patch and regression test