Triggers for FK on Views - can they be made deferrable?

From: "ezra epstein" <ee_newsgroup_post(at)prajnait(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Triggers for FK on Views - can they be made deferrable?
Date: 2003-12-17 21:21:25
Message-ID: 1tScnbCMHJ9EX32iXTWc-w@speakeasy.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've got the case of a table which has unusual FK constraints. I'm
implementing them as triggers against a view. It all works, BUT I don't see
a way to make the triggers executed only on Commit -- i.e., I'd like the
same "deferrable" behavior that true FKs provide. Does anyone know how to
do this?

Thanks,

Ezra E.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-12-17 21:42:06 Re: functions returning sets
Previous Message Joe Conway 2003-12-17 21:16:28 Re: functions returning sets