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 9A034329EC3 for ; Wed, 29 Sep 2004 23:46:57 +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 33029-09 for ; Wed, 29 Sep 2004 22:46:39 +0000 (GMT) Received: from smtp04.mrf.mail.rcn.net (smtp04.mrf.mail.rcn.net [207.172.4.63]) by svr1.postgresql.org (Postfix) with ESMTP id 0973132A0F1 for ; Wed, 29 Sep 2004 23:46:41 +0100 (BST) Received: from 209-6-216-111.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com ([209.6.216.111] helo=[192.168.0.8]) by smtp04.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CCnDb-0001KJ-00; Wed, 29 Sep 2004 18:46:39 -0400 In-Reply-To: <29855.1096474142@sss.pgh.pa.us> References: <20040928222637.L43334@megazone.bigpanda.com> <0E177963-1214-11D9-8537-000D93AE0944@sitening.com> <29367.1096471944@sss.pgh.pa.us> <29A85DE5-122E-11D9-8537-000D93AE0944@sitening.com> <29855.1096474142@sss.pgh.pa.us> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6CFBBB90-1269-11D9-8537-000D93AE0944@sitening.com> Content-Transfer-Encoding: 7bit Cc: Stephan Szabo , pgsql-docs@postgresql.org From: Thomas F.O'Connell Subject: Re: EXTRACT Clarification Date: Wed, 29 Sep 2004 18:46:39 -0400 To: Tom Lane X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/44 X-Sequence-Number: 2563 Ah, so it's really a question of whether the syntactic sugar of CREATE INDEX is considered worthwhile by the developers (rather than a standards compliance issue) because CREATE INDEX is not a part of the SQL spec? Now that I understand what's going on, I don't have a strong preference, but I'd say that either it needs noting in the documentation or it should be added to the grammar. And if it isn't going to hit the grammar for 7.4.x, I'd be happy to supply a doc patch. -tfo On Sep 29, 2004, at 12:09 PM, Tom Lane wrote: > "Thomas F. O'Connell" writes: >> That seems reasonable, too, although I was interested to learn that >> this (and a few other expressions) weren't actually functions. > > They are functions ... but not from the point of view of the grammar, > which has special productions for them to cope with SQL's whimsical > syntax requirements. > > regards, tom lane