current_database()
От
Rod Taylor
Тема
current_database()
Дата
Msg-id
1028682904.93791.5.camel@jester
Список
Дерево обсуждения
current_database() Rod Taylor <rbt@zort.ca>
Re: current_database() Rod Taylor <rbt@zort.ca>
Re: current_database() Bruce Momjian <pgman@candle.pha.pa.us>
Re: current_database() Tom Lane <tgl@sss.pgh.pa.us>
Re: current_database() Rod Taylor <rbt@zort.ca>
Re: current_database() Tom Lane <tgl@sss.pgh.pa.us>
Re: current_database() Bruce Momjian <pgman@candle.pha.pa.us>
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().
В списке pgsql-patches по дате отправления