Re: finding schema of table that called a trigger

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: finding schema of table that called a trigger
Дата
Msg-id 4235495A.5020800@archonet.com
обсуждение исходный текст
Ответ на finding schema of table that called a trigger  (Jeff Hoffmann <jeff@propertykey.com>)
Список pgsql-sql
Jeff Hoffmann wrote:
> Is there a variable defined that has the schema of the table that called 
> the trigger (like TG_RELNAME = table name)?  I didn't see anything in 
> the documentation.  Is the only way to get that to look it up with 
> TG_RELID?

I must admit I don't know of one. Hmm - it would obviously be simple 
enough to add to the interface, but I presume there is some overhead for 
each parameter you supply.

--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: sql: "LIKE" problem
Следующее
От: Ragnar Hafstað
Дата:
Сообщение: Re: How to cast VARCHAR to BYTEA and vice-versa?