Re: proposal : backend startup hook / after logon trigger

Поиск
Список
Период
Сортировка
От Euler Taveira de Oliveira
Тема Re: proposal : backend startup hook / after logon trigger
Дата
Msg-id 4EBC8728.2080008@timbira.com
обсуждение исходный текст
Ответ на proposal : backend startup hook / after logon trigger  (Tomas Vondra <tv@fuzzy.cz>)
Ответы Re: proposal : backend startup hook / after logon trigger  ("Tomas Vondra" <tv@fuzzy.cz>)
Список pgsql-hackers
On 10-11-2011 21:12, Tomas Vondra wrote:
> I occasionally need to perform some action whenever a user connects, and
> there's nothing like an "AFTER LOGON" trigger (available in some other
> databases).
> 
Are you proposing an on-logon hook or an on-connect trigger? It is two
separate things. The former can't solve some tasks (e.g. execute whatever pl
code) and the latter can't be implemented with a simple hook (you will have to
propose a syntax and offer some machinery to execute the pl code).

Of course, if you want to propose any of these ideas, keep in mind that a
symmetric functionality (e.g. on-logoff hook or on-disconnect trigger)  should
be implemented too.


--   Euler Taveira de Oliveira - Timbira       http://www.timbira.com.br/  PostgreSQL: Consultoria, Desenvolvimento,
Suporte24x7 e Treinamento
 


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: LOCK_DEBUG is busted
Следующее
От: Tom Lane
Дата:
Сообщение: Re: LOCK_DEBUG is busted