| From: | David Fetter <david(at)fetter(dot)org> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Susanne Ebrecht <miracee(at)miracee(dot)de>, pgsql-docs(at)postgresql(dot)org |
| Subject: | Re: rename of a view |
| Date: | 2007-06-30 00:16:53 |
| Message-ID: | 20070630001653.GQ7636@fetter.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs pgsql-patches |
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(at)miracee(dot)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(at)fetter(dot)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 | Content-Type | Size |
|---|---|---|
| alter_view.sgml | text/sgml | 2.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Euler Taveira de Oliveira | 2007-06-30 04:15:04 | Re: rename of a view |
| Previous Message | Susanne Ebrecht | 2007-06-29 18:32:44 | Re: rename of a view |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Smith | 2007-06-30 01:30:55 | Re: Checkpoint logging, revised patch |
| Previous Message | Tom Lane | 2007-06-30 00:05:31 | Re: Checkpoint logging, revised patch |