Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 7E6509FB569 for ; Mon, 19 Mar 2007 14:58:05 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 13896-05 for ; Mon, 19 Mar 2007 14:58:03 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id F1ECD9FB362 for ; Mon, 19 Mar 2007 14:58:04 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.13.8/8.13.8) with ESMTP id l2JHw4kn041212 for ; Mon, 19 Mar 2007 14:58:04 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.13.8/8.13.8/Submit) id l2JHYmPo027766 for pgsql-admin@postgresql.org; Mon, 19 Mar 2007 14:34:48 -0300 (ADT) (envelope-from news) From: Gaetano Mendola X-Newsgroups: pgsql.admin Subject: Re: create view with check option Date: Mon, 19 Mar 2007 18:34:25 +0100 Organization: Hub.Org Networking Services Lines: 31 Message-ID: <45FEC9A1.9090703@bigfoot.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org To: Karthikeyan Sundaram User-Agent: Thunderbird 2.0pre (Windows/20070315) In-Reply-To: X-Antivirus: avast! (VPS 000725-1, 03/19/2007), Outbound message X-Antivirus-Status: Clean To: pgsql-admin@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/121 X-Sequence-Number: 24945 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