Re: Re: Updating views

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Rasmus Resen Amossen <spunk(at)rhk(dot)dk>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Re: Updating views
Date: 2001-06-05 16:59:57
Message-ID: Pine.LNX.4.30.0106051858500.900-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane writes:

> For example, if your view has
> select ... where a>5;
> what do you think ought to happen if someone tries to insert a row
> with a<5?

It's an error if you specified WITH CHECK OPTION in the view definition,
it succeeds otherwise. There's a standard semantic for it.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-06-05 17:02:52 Re: Text data type doesn't accept newlines?
Previous Message Jan Wieck 2001-06-05 16:15:27 Re: Text data type doesn't accept newlines?