On Thu, 12 Aug 2004, Bruce Momjian wrote:
>
> Did this get resolved?
>
> ---
>
> Gavin Sherry wrote:
> > Attached is a minor patch to make BEFORE DELETE triggers honour tgenabled
> > properly.
> >
> > I know that we cannot, cu
Did this get resolved?
---
Gavin Sherry wrote:
> Attached is a minor patch to make BEFORE DELETE triggers honour tgenabled
> properly.
>
> I know that we cannot, currently, use this feature through a DDL command
> but just
Gavin Sherry <[EMAIL PROTECTED]> writes:
> Now, if for all the triggers on the base relation, !trigger->tgenabled is
> true, then newtuple will always be NULL.
Hmm ... seems like the all-triggers-disabled case should act the same as
the no-triggers-at-all case, which this doesn't seem to do. It d
Gavin Sherry <[EMAIL PROTECTED]> writes:
> Attached in the usual format this time.
AFAICS this patch makes exactly zero change in behavior. What was
the point again?
Also, if there is a point, why are we changing only one of the
several ExecFOOTriggers functions?
regards
On Sat, 7 Aug 2004, Tom Lane wrote:
> Gavin Sherry <[EMAIL PROTECTED]> writes:
> > Attached in the usual format this time.
>
> AFAICS this patch makes exactly zero change in behavior. What was
> the point again?
With BEFORE DELETE triggers, if the trigger returns NULL, then the DELETE
will not t
Oops.
Attached in the usual format this time.
Gavin
On Fri, 6 Aug 2004, Bruce Momjian wrote:
>
> Can I get a context diff please?
>
> ---
>
> Gavin Sherry wrote:
> > Attached is a minor patch to make BEFORE DELETE triggers
Can I get a context diff please?
---
Gavin Sherry wrote:
> Attached is a minor patch to make BEFORE DELETE triggers honour tgenabled
> properly.
>
> I know that we cannot, currently, use this feature through a DDL command
>
Attached is a minor patch to make BEFORE DELETE triggers honour tgenabled
properly.
I know that we cannot, currently, use this feature through a DDL command
but just in case someone is updating the catalogs to do it and since it is
necessary in order to implement disabling of triggers, I thought I