Re: Apparent anomaly with views and unions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Apparent anomaly with views and unions
Date: 2005-02-13 06:56:11
Message-ID: 26604.1108277771@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greg Stark <gsstark(at)mit(dot)edu> writes:
> Huh. The thing I find most jarring about this way of thinking is that it means
> I can have objects in my database that don't correspond to any source code I
> have saved.

[ shrug... ] Almost any form of ALTER command gives rise to that
situation; RENAME TABLE being just the most basic. I can't find
anything compelling in that gripe. If you want your saved source
code to always describe the database, you mustn't ALTER at all.

There are certainly lots of people who do things just that way,
but they aren't the ones pushing us to add more and more ALTER
functionality ;-)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message ttina 2005-02-13 08:58:24 Re: problem with thai language==again
Previous Message Tom Lane 2005-02-13 06:48:58 Re: problem with thai language