--On Freitag, September 01, 2006 11:34:49 -0400 Alvaro Herrera <[EMAIL PROTECTED]> wrote:

I don't understand this part very well.  Say if you have a view WITH
CHECK OPTION whose condition is "foo > 5", and then define a view WITH
LOCAL CHECK OPTION on top of that, whose condition is "bar > 5".  Does
the local check option on the second view that I can insert a row with
foo=4, bar=6?  That doesn't violate the condition of bar > 5, so it
seems fine to me.  But it also seems quite idiotic because it violated
the original foo>5 condition.

That's exactly what i'm reading out there, too. If such a view definition is useful or not
depends on its use case. Correct me if i'm wrong....

--
 Thanks

                   Bernd

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

Reply via email to