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

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: ezra epstein <ee_newsgroup_post(at)prajnait(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Triggers for FK on Views - can they be made deferrable?
Date: 2003-12-22 16:28:37
Message-ID: 3FE71BB5.1080809@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

There is a way to create them as CONSTRAINT triggers. It's totally
non-standard, not guaranteed to exist in future releases, yadda, yadda.
But it get's you where you want to be now().

Jan

ezra epstein wrote:

> 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.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-12-22 17:06:43 Re: FEATURE REQUEST: let arrays support null values.
Previous Message Keith C. Perry 2003-12-22 16:16:47 Re: windows distribution