Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 91DCE6501AF for ; Mon, 1 Sep 2008 11:59:23 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 26803-09 for ; Mon, 1 Sep 2008 11:59:10 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from fetter.org (start.fetter.org [66.92.188.65]) by postgresql.org (Postfix) with ESMTP id 6656764FD19 for ; Mon, 1 Sep 2008 11:59:10 -0300 (ADT) Received: by fetter.org (Postfix, from userid 500) id 80FD8FBCF84; Mon, 1 Sep 2008 07:59:08 -0700 (PDT) Date: Mon, 1 Sep 2008 07:59:08 -0700 From: David Fetter To: Thomas Kellerer Cc: pgsql-general@postgresql.org Subject: Re: Oracle and Postgresql Message-ID: <20080901145908.GM3717@fetter.org> References: <41c1fa08-86a0-4023-acaa-d838d5b0abf8@i24g2000prf.googlegroups.com> <20080901140856.GL3717@fetter.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/23 X-Sequence-Number: 137030 On Mon, Sep 01, 2008 at 04:39:09PM +0200, Thomas Kellerer wrote: > David Fetter, 01.09.2008 16:08: >>> because we are making extensive usage of Oracle's windowing >>> functions >> >> http://umitanuki.net/pgsql/wfv04/design.html > > I knew there was work going on regarding this, but I didn't know how > definite the decision was to integrate that into 8.4 > > It's too bad lead(), lag() won't make it It's not certain they won't make it, only that they're not in the current patch. >> It's even more fun with CTEs. >> > > Recursive CTE are quite cool, and a valid "replacement" for CONNECT > BY. I've used it already with SQL Server 2005 and once you get the > idea it's really nice. It's also standard, where Oracle's syntax is proprietary. In PostgreSQL, when there's a choice between the two, the standard wins. >> Those will both be fixed, at least to a large degree, in 8.4 :) > > What exactly means "large degree" :) It means we may not get everything the SQL:2008 standard specifies for CTEs and windowing functions on the first pass. Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@gmail.com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate