Re: view management - Mailing list pgsql-general

From Ed L.
Subject Re: view management
Date
Msg-id 200711161650.17513.pgsql@bluepolka.net
Whole thread Raw
In response to Re: view management  (Justin Pasher <justinp@newmediagateway.com>)
List pgsql-general
Thanks, Justin.

On Friday 16 November 2007 4:38 pm, Justin Pasher wrote:
> We have a system that has quite a few views to access some of
> the data (although we purposely tried to avoid views that
> pulled from other view due to some performance issues), but
> when we had all of the view interdependencies, we had a simple
> shell script that ran through a list of SQL files and imported
> them one after the other. If we every had to drop a view that
> cascaded to other dependent views, we would just do the DROP
> VIEW ... CASCADE, then run the shell script to recreate all of
> the views. In your situation, the time consuming part would be
> the initial creation of the script to get the SQL files in the
> correct order. After that is done, it's just a matter of
> proper maintenance to keep it working.

pgsql-general by date:

Previous
From: Justin Pasher
Date:
Subject: Re: view management
Next
From: Sam Mason
Date:
Subject: Re: Primary Key