X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C4C5F9DCBE3 for ; Thu, 9 Feb 2006 14:09:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 98607-10-2 for ; Thu, 9 Feb 2006 14:09:09 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 65E229DCA44 for ; Thu, 9 Feb 2006 14:09:08 -0400 (AST) Received: from mail.99main.com (mail.99main.com [208.28.184.11]) by svr4.postgresql.org (Postfix) with ESMTP id D41525AF83F for ; Thu, 9 Feb 2006 18:09:08 +0000 (GMT) Received: from 99main.com (localhost [127.0.0.1]) by mail.99main.com (8.12.8+Sun/8.12.8) with ESMTP id k19I944J027518; Thu, 9 Feb 2006 13:09:05 -0500 (EST) From: "Keith Worthington" To: Andreas Roth , pgsql-sql@postgresql.org Reply-To: KeithW@narrowpathinc.com Subject: Re: Change definition of a view Date: Thu, 9 Feb 2006 13:09:04 -0500 Message-Id: <20060209180801.M15130@narrowpathinc.com> In-Reply-To: <200602091811.24476.aroth@arsoft-online.com> References: <200602091811.24476.aroth@arsoft-online.com> X-Mailer: Open WebMail 2.50 20050106 X-OriginatingIP: 68.235.22.242 (npkeithw) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.08 required=5 tests=[AWL=0.080] X-Spam-Score: 0.08 X-Spam-Level: X-Archive-Number: 200602/105 X-Sequence-Number: 24115 On Thu, 9 Feb 2006 18:11:24 +0100, Andreas Roth wrote > Hello, > > one question: Is it possible to add or remove a column from a view > without drop the view and recreate it? > > If one or more rules depend on a view, it's very hard to extend a > view. I use the following procedure to extend a view: - drop depending > rules - drop view - recreate view with additional column - recreate > all rules > > Any help is welcomed! > > Thanks, > Andreas Roth Andreas, I believe that is exactly what you have to do. Kind Regards, Keith