Re: rename of a view - Mailing list pgsql-docs

From David Fetter
Subject Re: rename of a view
Date
Msg-id 20070630001653.GQ7636@fetter.org
Whole thread Raw
In response to Re: rename of a view  (David Fetter <david@fetter.org>)
Responses Re: rename of a view  (Euler Taveira de Oliveira <euler@timbira.com>)
List pgsql-docs
On Fri, Jun 29, 2007 at 11:32:19AM -0700, David Fetter wrote:
> On Thu, Jun 28, 2007 at 10:16:51AM -0400, Tom Lane wrote:
> > Susanne Ebrecht <miracee@miracee.de> writes:
> > > that works, but there is no hint at the documentation, that you
> > > can rename a view via alter table.
> >
> > It is mentioned someplace (don't remember where).  Where would you
> > have expected to find it?
>
> I'd expect to find it in an ALTER VIEW document.
>
> Cheers,
> D

The attached patch and file implement and document

    ALTER [VIEW | SEQUENCE] RENAME TO

The file goes in doc/src/sgml/ref and the patch should just apply to
CVS HEAD.

Thanks to Neil Conway for all the help putting this together :)

Cheers,
D
--
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!
Consider donating to PostgreSQL: http://www.postgresql.org/about/donate

Attachment

pgsql-docs by date:

Previous
From: Susanne Ebrecht
Date:
Subject: Re: rename of a view
Next
From: Euler Taveira de Oliveira
Date:
Subject: Re: rename of a view