Re: too many trigger records found for relation "item" -

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
Cc: "Lenorovitz, Joel" <Joel(dot)Lenorovitz(at)usap(dot)gov>, Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: too many trigger records found for relation "item" -
Date: 2007-01-23 14:43:48
Message-ID: 18331.1169563428@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Csaba Nagy <nagy(at)ecircle-ag(dot)com> writes:
> The responsible code is in src/backend/commands/trigger.c, and I
> think it only happens if you manage to create/drop a new trigger (which
> also could be a FK trigger created by a new foreign key referencing that
> table, as in our case) exactly between that code gets the count of the
> triggers and processes them.

All such code takes exclusive lock on the table, so the above
explanation is impossible.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Erick Papadakis 2007-01-23 14:52:33 Re: Installing PostgreSQL under Cpanel
Previous Message Tom Lane 2007-01-23 14:30:49 Re: Regular expressions and arrays and ANY() question