Search Postgresql Archives

Get affected table name in trigger function?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Is it possible to get current table name such as (TG_TABLENAME?) in a trigger function?

For example, tables t1, t2, t3 all depend on one trigger function. In the trigger function, is it possible to get the current affected table name - is it t1, t2 or t3 ?

Thanks a lot,
Emi



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux