Skip site navigation (1) Skip section navigation (2)

Re: Missing doc on expression format for ALTER TABLE

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-docs(at)postgresql(dot)org
Subject: Re: Missing doc on expression format for ALTER TABLE
Date: 2005-03-28 02:00:50
Message-ID: 20050328020050.GB28150@dcc.uchile.cl (view raw or flat)
Thread:
Lists: pgsql-docs
On Sun, Mar 27, 2005 at 05:11:43PM -0800, Josh Berkus wrote:

> > 	ALTER [ COLUMN ] column TYPE type [ USING expression ]
> >
> > Surely you're not expecting it to repeat the complete syntax for
> > <expression>.
> 
> Well, yes, actually.  Where in the documentation is a type conversion 
> expression defined?   Do we use NEW and OLD?  Or the name of the column?  Or 
> something else?

I think the ALTER TABLE page is in dire need of a "See also" section, at
least.  And a reference to where <expression> is defined would be nice
to have.

-- 
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"All rings of power are equal,
But some rings of power are more equal than others."
                                 (George Orwell's The Lord of the Rings)

In response to

Responses

pgsql-docs by date

Next:From: Jim C. NasbyDate: 2005-03-28 02:19:46
Subject: Re: Version information in docs
Previous:From: Tom LaneDate: 2005-03-28 01:54:22
Subject: Re: Version information in docs

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group