| From: | "Ed L(dot)" <pgsql(at)bluepolka(dot)net> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: view management |
| Date: | 2007-11-16 23:50:17 |
| Message-ID: | 200711161650.17513.pgsql@bluepolka.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sam Mason | 2007-11-17 00:16:06 | Re: Primary Key |
| Previous Message | Justin Pasher | 2007-11-16 23:38:01 | Re: view management |