Re: alter + preserving dependencies - Mailing list pgsql-hackers

From Tom Lane
Subject Re: alter + preserving dependencies
Date
Msg-id 6426.1210170410@sss.pgh.pa.us
Whole thread Raw
In response to Re: alter + preserving dependencies  (Dimitri Fontaine <dim@hi-media.com>)
Responses Re: alter + preserving dependencies  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: alter + preserving dependencies  (Dimitri Fontaine <dim@hi-media.com>)
List pgsql-hackers
Dimitri Fontaine <dim@hi-media.com> writes:
> My 8.3.1 installation psql \h only gives me:
> Syntax:
> ALTER VIEW name RENAME TO newname

You're not the first person to think that ALTER VIEW covers everything
that can be done to a view.

I'm starting to think that we should just make ALTER VIEW be an alias
for ALTER TABLE (rather than a separate node type as now), and then list
in the ALTER VIEW reference page all of the ALTER TABLE variants that
will work on views.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Posting to hackers and patches lists
Next
From: "Kevin Grittner"
Date:
Subject: Re: alter + preserving dependencies