pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Susanne Ebrecht <miracee@miracee.de>
To: pgsql-docs@postgresql.org
Subject: rename of a view
Date: Thu, 28 Jun 2007 13:31:17 +0200
Message-ID: <46839C05.7050307@miracee.de> (raw)

Hi all,

I got the question: how can I rename a view?
At the first moment, I have had no idea ... and I asked the German guys 
at IRC.
They have had no idea too.

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.
Is it possible to add a hint for this to the documentation?

Regards,

Susanne

-- 
Susanne Ebrecht,
52066 Aachen, Germany




view thread (22+ messages)  latest in thread

Message-ID: <46839C05.7050307@miracee.de>
Permalink:  ../46839C05.7050307@miracee.de/
Also on:    postgresql.org/message-id/46839C05.7050307@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
  Subject: Re: rename of a view
  In-Reply-To: <46839C05.7050307@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