Re: ALTER TABLE RENAME column

From: Jim Nasby <decibel(at)decibel(dot)org>
To: Jonah H(dot) Harris <jonah(dot)harris(at)gmail(dot)com>
Cc: "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ALTER TABLE RENAME column
Date: 2006-11-20 22:15:25
Message-ID: 4F2B68DD-3BF6-4769-B55F-538A61B07A94@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Nov 17, 2006, at 9:47 AM, Jonah H. Harris wrote:

> On 11/16/06, Jim Nasby <decibel(at)decibel(dot)org> wrote:
>> Any reason not to support renaming columns? Can this be added to
>> TODO?
>
> ALTER TABLE yo_table RENAME COLUMN yo_column TO yo_new_column;

Oooops... now I see where it's listed in \h. I knew I must have been
missing something...
--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2006-11-20 23:18:56 Re: Custom Data Type Question
Previous Message Bruce Momjian 2006-11-20 22:10:04 Re: [HACKERS] Replication documentation addition