Re: create view with check option - Mailing list pgsql-admin

From Gaetano Mendola
Subject Re: create view with check option
Date
Msg-id 45FEC9A1.9090703@bigfoot.com
Whole thread Raw
In response to create view with check option  ("Karthikeyan Sundaram" <skarthi98@hotmail.com>)
List pgsql-admin
Karthikeyan Sundaram wrote:
> Hi Everybody,
>
>    I have 2 versions of postgres 8.1.0 is my production version and
> 8.2.1 is my development version.
>
>  I am trying to create a view in my development version (8.2.3)
>
>   create view chnl_vw as select * from channel with check option;
>
>   I am getting an error message:
>
> [Error] Script lines: 1-1 --------------------------
> ERROR: WITH CHECK OPTION is not implemented
> Line: 1
>
>   what does this mean?  I looked at the 8.2.1 manual and found the
> create view has check option.  But it says before 8.2 those options are
> unsupported.

Why are you trying to declare a view "with check option" using a 8.2 engine?
Can you show us the part of manual that say you can use that syntax?

I see:

CREATE [ OR REPLACE ] [ TEMP | TEMPORARY ] VIEW name [ ( column_name [, ...] ) ]   AS query


Regards
Gaetano Mendola

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem migrating from 8.0.3 to 8.2.3
Next
From: "Karthikeyan Sundaram"
Date:
Subject: Re: create view with check option