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 5D622329F48 for ; Wed, 29 Sep 2004 14:34:27 +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 39164-02 for ; Wed, 29 Sep 2004 13:34:16 +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 C4F2E32A271 for ; Wed, 29 Sep 2004 14:34:13 +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 1CCeaz-0007Gh-00; Wed, 29 Sep 2004 09:34:13 -0400 In-Reply-To: References: <20040928222637.L43334@megazone.bigpanda.com> <0E177963-1214-11D9-8537-000D93AE0944@sitening.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <3F6F3A66-121C-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 09:34:11 -0400 To: Kris Jurka 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/40 X-Sequence-Number: 2559 It seems like it would be worth noting these (and any others) in the docs in some way. Is there a way for someone without a copy of the spec to be aware of which are functions and which are not, otherwise? -tfo On Sep 29, 2004, at 9:25 AM, Kris Jurka wrote: > On Wed, 29 Sep 2004, Thomas F.O'Connell wrote: > >> Note: EXTRACT is not a true function. SQL defines it as an expression >> that happens to look similar to a function call. >> >> Also, are there other expressions that fall into this category? I >> don't >> know the spec well enough to know. > > At least COALESCE and NULLIF are not functions. > > Kris Jurka