pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Susanne Ebrecht <miracee@miracee.de>
To: Neil Conway <neilc@samurai.com>
Cc: pgsql-docs@postgresql.org
Subject: Re: rename of a view
Date: Fri, 29 Jun 2007 20:32:44 +0200
Message-ID: <4685504C.1000007@miracee.de> (raw)
In-Reply-To: <1183044433.6694.0.camel@goldbach>
References: <46839C05.7050307@miracee.de>
	<1183044433.6694.0.camel@goldbach>

Neil Conway wrote:
> 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...
>   

I looked at \h ALTER TABLE
my system is in German, and there is no hint, that this is for views too.
Using 8.2.4.

Susanne

-- 
Susanne Ebrecht,
52066 Aachen, Germany




view thread (22+ messages)  latest in thread

Message-ID: <4685504C.1000007@miracee.de>
Permalink:  ../4685504C.1000007@miracee.de/
Also on:    postgresql.org/message-id/4685504C.1000007@miracee.de

 · 

reply

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: miracee@miracee.de, neilc@samurai.com
  Subject: Re: rename of a view
  In-Reply-To: <4685504C.1000007@miracee.de>

* 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