plpgsql trigger original query

Поиск
Список
Период
Сортировка
От Dan99
Тема plpgsql trigger original query
Дата
Msg-id 1189475431.097392.49490@22g2000hsm.googlegroups.com
обсуждение исходный текст
Ответы Re: plpgsql trigger original query  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Список pgsql-general
Hi,

I am looking for a way to get the original query that caused a trigger
to fire.  I need to be able to get this query either inside the
trigger itself (and then send it to the function the trigger calls) or
get it in the end function.  Is this doable? The reason i am asking is
that I would like to be able to send a variable (this variable would
come from php where the original query is executed) to the end
function called by the trigger.

Any help with this would be greatly appreciated.

Thanks,
Dan


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

Предыдущее
От: Max
Дата:
Сообщение: Re: arrays of foreign keys
Следующее
От: finecur
Дата:
Сообщение: constrains on two tables