pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
System catalog for triggers
2+ messages / 2 participants
[nested] [flat]

* System catalog for triggers
@ 2003-09-11 05:59  A.Bhuvaneswaran <bhuvan@symonds.net>
  0 siblings, 1 reply; 2+ messages in thread

From: A.Bhuvaneswaran @ 2003-09-11 05:59 UTC (permalink / raw)
  To: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: System catalog for triggers
@ 2003-09-11 14:02  Tom Lane <tgl@sss.pgh.pa.us>
  parent: A.Bhuvaneswaran <bhuvan@symonds.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2003-09-11 14:02 UTC (permalink / raw)
  To: A.Bhuvaneswaran <bhuvan@symonds.net>; +Cc: pgsql-admin

"A.Bhuvaneswaran" <bhuvan@symonds.net> 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-09-11 14:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-11 05:59 System catalog for triggers A.Bhuvaneswaran <bhuvan@symonds.net>
2003-09-11 14:02 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox