Re: rename of a view

From: Neil Conway <neilc(at)samurai(dot)com>
To: Susanne Ebrecht <miracee(at)miracee(dot)de>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: rename of a view
Date: 2007-06-28 15:27:13
Message-ID: 1183044433.6694.0.camel@goldbach
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-patches

On Thu, 2007-28-06 at 13:31 +0200, Susanne Ebrecht wrote:
> Than I just tried: alter table pgview rename to bettername;
>
> that works, but there is no hint at the documentation, that you can
> rename a view via alter table.

>From the ALTER TABLE reference page: "The RENAME forms change the name
of a table (or an index, sequence, or view) or the name of an individual
column in a table."

Of course, it could be made more obvious...

-Neil

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2007-06-29 01:06:20 Re: proposed FAQ entry
Previous Message Tom Lane 2007-06-28 14:16:51 Re: rename of a view

Browse pgsql-patches by date

  From Date Subject
Next Message Patrick Welche 2007-06-28 18:24:30 configure.in / xml / quoting trouble
Previous Message Tom Lane 2007-06-28 14:25:54 Re: Doc update for pg_start_backup