Re: view management - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: view management
Date
Msg-id 20071116130100.58dd0fac@commandprompt.com
Whole thread Raw
In response to view management  ("Ed L." <pgsql@bluepolka.net>)
Responses Re: view management  ("Merlin Moncure" <mmoncure@gmail.com>)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 16 Nov 2007 13:57:24 -0700
"Ed L." <pgsql@bluepolka.net> wrote:

> I have a question about view management... 
> 
> I often have need for views that reference views that reference 
> views, and so on.  When I need to make a small update to one of 
> the views, I am faced with having to drop and recreate all 
> dependent views even if the driving change just adds another 
> column to the view, for example.  I might have to drop and 
> recreate many tens of views just to make a change to a single 
> view.  What a PITA.  How do others manage this?

I use stored procedures instead.

Joshua D. Drake

> 
> TIA.
> Ed
> 
> ---------------------------(end of
> broadcast)--------------------------- TIP 9: In versions below 8.0,
> the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
> 


- -- 

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564   24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997  http://www.commandprompt.com/
            UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHPgUMATb/zqfZUUQRAneuAJ9I4FByzPC3fSCwWdwjhEfQtdFpKwCfYDkv
IvL6KnBrOeqpUj6qKBkd8iE=
=Se2S
-----END PGP SIGNATURE-----

pgsql-general by date:

Previous
From: "Ed L."
Date:
Subject: view management
Next
From: "Ed L."
Date:
Subject: Re: view management