System catalog for triggers

Поиск
Список
Период
Сортировка
Искать

System catalog for triggers

От:
"A.Bhuvaneswaran" <bhuvan@symonds.net>
Дата:
Hi,

This is my second post.

I am using postgresql 7.3.2 on redhat linux 7.3.

Where does postgresql store tg_op and tg_when details for a trigger? If i 
am right, it is not in pg_trigger catalog.

TIA.

regards, 
bhuvaneswaran

Re: System catalog for triggers

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"A.Bhuvaneswaran"  writes:
> Where does postgresql store tg_op and tg_when details for a trigger? If i 
> am right, it is not in pg_trigger catalog.

No, you're not right.  It's encoded in tgtype somehow; you'll have to
look at the trigger code for details (see src/include/catalog/pg_trigger.h
in particular).

			regards, tom lane
FAQ