Emi Lu <emilu@xxxxxxxxxxxxxxxxx> writes: > Is it possible to get current table name such as (TG_TABLENAME?) in a > trigger function? TG_RELNAME ... or look it up from the table OID TG_RELID ... or pass it in as a trigger parameter ... regards, tom lane