pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedNumbers of entries in pg_trigger
3+ messages / 3 participants
[nested] [flat]
* Numbers of entries in pg_trigger
@ 2001-11-20 20:21 Jeff Boes <jboes@nexcerpt.com>
0 siblings, 2 replies; 3+ messages in thread
From: Jeff Boes @ 2001-11-20 20:21 UTC (permalink / raw)
To: pgsql-admin
Does anyone have a pointer to info on what kinds of things cause entries
in pg_trigger? We're trying to understand why some tables have a
half-dozen corresponding entries, and some have 30.
--
Jeff Boes vox 616.226.9550
Database Engineer fax 616.349.9076
Nexcerpt, Inc. jboes@nexcerpt.com
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Numbers of entries in pg_trigger
@ 2001-11-20 20:56 Stephan Szabo <sszabo@megazone23.bigpanda.com>
parent: Jeff Boes <jboes@nexcerpt.com>
1 sibling, 0 replies; 3+ messages in thread
From: Stephan Szabo @ 2001-11-20 20:56 UTC (permalink / raw)
To: Jeff Boes <jboes@nexcerpt.com>; +Cc: pgsql-admin
On Tue, 20 Nov 2001, Jeff Boes wrote:
> Does anyone have a pointer to info on what kinds of things cause entries
> in pg_trigger? We're trying to understand why some tables have a
> half-dozen corresponding entries, and some have 30.
With that many I'd guess foreign keys. Each fk constraint adds 1 trigger
to the referencing table and 2 to the referenced table if I remember
right.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Numbers of entries in pg_trigger
@ 2001-11-20 21:56 Tom Lane <tgl@sss.pgh.pa.us>
parent: Jeff Boes <jboes@nexcerpt.com>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2001-11-20 21:56 UTC (permalink / raw)
To: Jeff Boes <jboes@nexcerpt.com>; +Cc: pgsql-admin
"Jeff Boes" <jboes@nexcerpt.com> writes:
> Does anyone have a pointer to info on what kinds of things cause entries
> in pg_trigger? We're trying to understand why some tables have a
> half-dozen corresponding entries, and some have 30.
If you didn't make the triggers yourself, I think they must have come
from foreign keys.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2001-11-20 21:56 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-11-20 20:21 Numbers of entries in pg_trigger Jeff Boes <jboes@nexcerpt.com>
2001-11-20 20:56 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
2001-11-20 21:56 ` 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