Re: Why can't I put a BEFORE EACH ROW trigger on a view?

From: "Webb Sprague" <webb(dot)sprague(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Why can't I put a BEFORE EACH ROW trigger on a view?
Date: 2007-02-25 00:51:27
Message-ID: b11ea23c0702241651s78ab8ah9ec98bc815a89c62@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>. I have _additional_
> constraints to place on modifications done through
> views, and trickyness involved in modifying the
> underlying tables.

Write a function foo that returns a set, then a view: "create view as
select * from foo()". Incorporate all the trickiness in the function,
including variables, multiple temporary tables, whatever you need.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Webb Sprague 2007-02-25 00:55:45 Re: Why can't I put a BEFORE EACH ROW trigger on a view?
Previous Message Joshua D. Drake 2007-02-25 00:47:56 Re: Why can't I put a BEFORE EACH ROW trigger on a view?