pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keith Worthington <keithw@narrowpathinc.com>
To: Andreas Roth <aroth@arsoft-online.com>
To: pgsql-sql@postgresql.org
Subject: Re: Change definition of a view
Date: Thu, 9 Feb 2006 13:09:04 -0500
Message-ID: <20060209180801.M15130@narrowpathinc.com> (raw)
In-Reply-To: <200602091811.24476.aroth@arsoft-online.com>
References: <200602091811.24476.aroth@arsoft-online.com>

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



view thread (2+ messages)

Message-ID: <20060209180801.M15130@narrowpathinc.com>
Permalink:  ../20060209180801.M15130@narrowpathinc.com/
Also on:    postgresql.org/message-id/20060209180801.M15130@narrowpathinc.com

 · 

reply

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: keithw@narrowpathinc.com, aroth@arsoft-online.com
  Subject: Re: Change definition of a view
  In-Reply-To: <20060209180801.M15130@narrowpathinc.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