Re: create or replace view - Mailing list pgsql-hackers

From Tom Lane
Subject Re: create or replace view
Date
Msg-id 5572.1037295951@sss.pgh.pa.us
Whole thread Raw
In response to Re: create or replace view  (snpe <snpe@snpe.co.yu>)
Responses Re: create or replace view  (snpe <snpe@snpe.co.yu>)
List pgsql-hackers
snpe <snpe@snpe.co.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Propose RC1 for Friday ...
Next
From: Patrick Welche
Date:
Subject: Re: RC1?