X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 19CC8538D9 for ; Mon, 28 Mar 2005 03:00:58 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 77732-10 for ; Mon, 28 Mar 2005 02:00:51 +0000 (GMT) Received: from sunsite.dcc.uchile.cl (sunsite.dcc.uchile.cl [192.80.24.2]) by svr1.postgresql.org (Postfix) with ESMTP id 76503538E7 for ; Mon, 28 Mar 2005 03:00:51 +0100 (BST) Received: from anakena.dcc.uchile.cl (anakena [192.80.24.6]) by sunsite.dcc.uchile.cl (8.12.11/8.12.11) with ESMTP id j2S20osG028506; Sun, 27 Mar 2005 22:00:51 -0400 (CLT) Received: by anakena.dcc.uchile.cl (Postfix, from userid 4151) id D56485304F; Sun, 27 Mar 2005 22:00:50 -0400 (CLT) Date: Sun, 27 Mar 2005 22:00:50 -0400 From: Alvaro Herrera To: Josh Berkus Cc: Tom Lane , pgsql-docs@postgresql.org Subject: Re: Missing doc on expression format for ALTER TABLE Message-ID: <20050328020050.GB28150@dcc.uchile.cl> References: <200503261655.25658.josh@agliodbs.com> <26397.1111898879@sss.pgh.pa.us> <200503271711.44046.josh@agliodbs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503271711.44046.josh@agliodbs.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.347 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200503/25 X-Sequence-Number: 2921 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 > > . > > 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 is defined would be nice to have. -- Alvaro Herrera () "All rings of power are equal, But some rings of power are more equal than others." (George Orwell's The Lord of the Rings)