X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id D25679FB3DD for ; Thu, 24 Aug 2006 03:42:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 56234-01 for ; Thu, 24 Aug 2006 06:42:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by postgresql.org (Postfix) with SMTP id C6E4B9FB2AE for ; Thu, 24 Aug 2006 03:42:52 -0300 (ADT) Received: (qmail invoked by alias); 24 Aug 2006 06:42:51 -0000 Received: from dslb-084-063-010-068.pools.arcor-ip.net (EHLO colt.pezone.net) [84.63.10.68] by mail.gmx.net (mp018) with SMTP; 24 Aug 2006 08:42:51 +0200 X-Authenticated: #495269 From: Peter Eisentraut To: Tom Lane Subject: Re: SQL92 compliance Date: Thu, 24 Aug 2006 08:42:49 +0200 User-Agent: KMail/1.9.3 Cc: pgsql-sql@postgresql.org, Daniel CAUNE References: <000301c6c655$0e3a0100$0b00a8c0@tedy> <200608231811.48538.peter_e@gmx.net> <22448.1156354816@sss.pgh.pa.us> In-Reply-To: <22448.1156354816@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608240842.50604.peter_e@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200608/174 X-Sequence-Number: 26132 Tom Lane wrote: > I think it's a big stretch to say that that patch fixes it, since it > only allows an AS-less target expression to be c_expr rather than > a_expr as it ought to. Well, it works for a useful subset. I remember that some other database did not *allow* the AS, so there were porting troubles, but I don't remember the details. I'm just saying that it's doable if it's a necessity for someone. -- Peter Eisentraut http://developer.postgresql.org/~petere/