From: Gaetano Mendola <mendola@bigfoot.com>
To: Karthikeyan Sundaram <skarthi98@hotmail.com>
Subject: Re: create view with check option
Date: Mon, 19 Mar 2007 18:34:25 +0100
Message-ID: <45FEC9A1.9090703@bigfoot.com> (raw)
In-Reply-To: <BAY131-F39148BA6B3B5CE265CDE4EB0760@phx.gbl>
References: <BAY131-F14526BA01BB66AA5D4DB75B0810@phx.gbl>
<BAY131-F39148BA6B3B5CE265CDE4EB0760@phx.gbl>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mendola@bigfoot.com, skarthi98@hotmail.com
Subject: Re: create view with check option
In-Reply-To: <45FEC9A1.9090703@bigfoot.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox