Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 0219D9F9F08 for ; Tue, 12 Dec 2006 10:33:40 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 50384-07 for ; Tue, 12 Dec 2006 10:33:09 -0400 (AST) X-Greylist: delayed 00:23:33.876947 by SQLgrey-1.7.4 Received: from mail.e-intelligence.com (yogurt.e-intelligence.com [196.211.21.66]) by postgresql.org (Postfix) with ESMTP id DF6349F946C for ; Tue, 12 Dec 2006 10:33:13 -0400 (AST) Received: from www.raev1.com (unknown [192.168.2.61]) by kingtut.e-intelligence.com (Postfix) with ESMTP id A2BA45F176 for ; Tue, 12 Dec 2006 14:10:39 +0000 (UTC) Subject: TPCH Benchmark query result invalid From: Cronje Fourie To: pgsql-sql@postgresql.org Content-Type: text/plain Date: Tue, 12 Dec 2006 16:09:22 +0200 Message-Id: <1165932562.10968.1.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit X-EI-MailScanner-Information: Please contact the ISP for more information X-EI-MailScanner: Found to be clean X-EI-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=0, required 6.5) X-MailScanner-From: cfourie@e-intelligence.com X-MailScanner-To: pgsql-sql@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50 X-Spam-Level: X-Archive-Number: 200612/90 X-Sequence-Number: 27046 When running the following query against a TPCH db I get 0 results returned select o_orderpriority, count(*) as order_count from orders where o_orderdate >= date '1993-07-01' and o_orderdate < date '1993-07-01' + interval '3' month and exists ( select * from lineitem where l_orderkey = o_orderkey and l_commitdate < l_receiptdate ) group by o_orderpriority order by o_orderpriority; The same query runs correctly under mysql. Has anyone expierenced this before? Cronje -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.