Re: What Is The Firing Order?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: cnliou(at)eurosport(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: What Is The Firing Order?
Date: 2001-09-07 15:36:51
Message-ID: 200109071536.f87FapY28936@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > I wish the constraint will be fired first.
>
> That seems fairly arbitrary; someone else might wish the opposite,
> depending on the details of what they want to do.
>
> If we were to modify the code to make the firing order predictable,
> I'd want it to be user-controllable. A simple hack that comes to
> mind is to fire triggers in alphabetical order by name --- then you
> can easily arrange for custom triggers to fall either before or after
> system-generated ones. But perhaps someone else has a better idea.

This is not the first time someone has asked about firing order. We
either need a solution or I will add it to the TODO list.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message rdack 2001-09-07 15:40:08 Re: osx install problem
Previous Message Cole Shelton 2001-09-07 15:20:04 Error: No Buffer Space Available