Re: How to add columns to view with dependencies

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to add columns to view with dependencies
Date: 2017-04-17 08:55:15
Message-ID: 20170417085514.aot7ryzq7hnlmj5g@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Apr 16, 2017 at 08:02:54PM -0700, Guyren Howe wrote:

> I can imagine ways of sort-of dealing with this. I might
> maintain a SQL file with views to create in a suitable order,
> Then I could drop all views, edit the definition of one, then
> run the file, but this is awfully tedious.

This, kept under version control, seems best practice,
regardless of what PG supports making the above easier.

Karsten
--
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Devrim Gündüz 2017-04-17 14:12:53 Re: Error During PostGIS Build From Source on Linux
Previous Message Tom Lane 2017-04-17 03:52:31 Re: How to add columns to view with dependencies