Re: WIP: Deferrable unique constraints - Mailing list pgsql-hackers

From Dean Rasheed
Subject Re: WIP: Deferrable unique constraints
Date
Msg-id 8e2dbb700907201541v7d49af9r8eada9289fb4c875@mail.gmail.com
Whole thread Raw
In response to Re: WIP: Deferrable unique constraints  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
2009/7/20 Alvaro Herrera <alvherre@commandprompt.com>:
>  Seems related to the new list in AfterTriggerSaveEvent, which is
>  used in ways that seem to conflict with its header comment ...

Reading the comment for that function, I think it is quite misleading
- mainly because the meaning of the word "event" mutates half-way
through the function. A better description might be:

/* ----------* AfterTriggerSaveEvent()**  Called by ExecA[RS]...Triggers() to queue up the triggers that should*  be
firedfor an event.**  NOTE: this is called whenever there are any triggers associated with*  the event (even if they
aredisabled). This function decides which*  triggers actually need to be queued.* ----------*/ 
- Dean


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] large object does not exist after pg_migrator
Next
From: Josh Berkus
Date:
Subject: Re: COPY WITH CSV FORCE QUOTE * -- REVIEW