Bill <pg(at)dbginc(dot)com> writes:
> In a newsgroup posting someone suggested that constraint checks on
> domains occur before the before insert trigger.
Yeah, that is the case, but if a domain check was failing then the
row wouldn't get inserted, so I'm not clear on how this matches up
with your report.
regards, tom lane