Re: create or replace view

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: snpe <snpe(at)snpe(dot)co(dot)yu>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: create or replace view
Date: 2002-11-14 17:45:51
Message-ID: 5572.1037295951@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

snpe <snpe(at)snpe(dot)co(dot)yu> writes:
> On Thursday 14 November 2002 05:22 pm, Bruno Wolff III wrote:
>> Are you trying to save typing a few characters or what?

> Yes, it is 'create or replace view', not ?

The statement was not invented to save a few characters of typing.
It was invented to allow people to make internal changes to view
definitions without breaking other objects that refer to the view.

If we made it automatically drop and recreate the view then we'd
be defeating the purpose.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Patrick Welche 2002-11-14 18:13:56 Re: RC1?
Previous Message Tom Lane 2002-11-14 17:34:31 Re: Propose RC1 for Friday ...