From: Neil Conway <neilc@samurai.com>
To: Susanne Ebrecht <miracee@miracee.de>
Cc: pgsql-docs@postgresql.org
Subject: Re: rename of a view
Date: Thu, 28 Jun 2007 08:27:13 -0700
Message-ID: <1183044433.6694.0.camel@goldbach> (raw)
In-Reply-To: <46839C05.7050307@miracee.de>
References: <46839C05.7050307@miracee.de>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: neilc@samurai.com, miracee@miracee.de
Subject: Re: rename of a view
In-Reply-To: <1183044433.6694.0.camel@goldbach>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox