Call a function when a User (dis)connects from the Server/Database

Поиск
Список
Период
Сортировка
От Johannes Barop
Тема Call a function when a User (dis)connects from the Server/Database
Дата
Msg-id 006d01c3e59a$a46f7cc0$eeeea8c0@johannes
обсуждение исходный текст
Список pgsql-hackers
Hello,
I search a way to realize following:
When a user connects to a databse, a function of my should be executed. The
best would be a system table where the active Databaser Users are in, and
creating a Trigger on it. But there is not such a table.

Sometold me to modifying the source, but i feel a bit lost in such a big
source. Please help me :)

The best would be a modification which stores active Users in table. I think
this would be a nice feature for following PostgreSQL Versions, or?

I dropped this question in the general list, but i thought its a better
question for this list.

Sorry, for my bad english :/

--------------------------
Johannes 'robotron' Barop




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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: 7.5 change documentation
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Question about indexes