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 6035A533F7 for ; Mon, 28 Mar 2005 06:51:09 +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 35274-09 for ; Mon, 28 Mar 2005 05:51:08 +0000 (GMT) Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by svr1.postgresql.org (Postfix) with ESMTP id C0C0B52A6C for ; Mon, 28 Mar 2005 06:51:06 +0100 (BST) X-EthosMedia-Virus-Scanned: no infections found Received: from [63.195.55.98] (account josh@agliodbs.com HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 7173594; Sun, 27 Mar 2005 21:52:59 -0800 From: Josh Berkus Organization: Aglio Database Solutions To: Alvaro Herrera Subject: Re: Missing doc on expression format for ALTER TABLE Date: Sun, 27 Mar 2005 21:50:47 -0800 User-Agent: KMail/1.6.2 Cc: Tom Lane , pgsql-docs@postgresql.org References: <200503261655.25658.josh@agliodbs.com> <200503271711.44046.josh@agliodbs.com> <20050328020050.GB28150@dcc.uchile.cl> In-Reply-To: <20050328020050.GB28150@dcc.uchile.cl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200503272150.48053.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.01 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/27 X-Sequence-Number: 2923 Guys, > > 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. What I'm pointing out here is that the USING clause can't be just ANY expression, it needs to be a specific type of expression. And the docs don't explain what kind of expression is usable here. Even a single example would go a long way ... -- Josh Berkus Aglio Database Solutions San Francisco