Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E97531337BC1 for ; Tue, 14 Sep 2010 00:59:21 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 92005-04 for ; Tue, 14 Sep 2010 03:59:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id CEBA91335C08 for ; Tue, 14 Sep 2010 00:59:13 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 7E2D8348013; Mon, 13 Sep 2010 20:59:03 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CmHQ1Ba5wncm; Mon, 13 Sep 2010 20:58:57 -0700 (PDT) Received: from perhan.alvh.no-ip.org (200-126-90-175.bk6-dsl.surnet.cl [200.126.90.175]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 9EED4348011; Mon, 13 Sep 2010 20:58:56 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id C577C6E486; Mon, 13 Sep 2010 23:58:51 -0400 (CLT) Content-Type: text/plain; charset=UTF-8 Cc: pgsql-sql Subject: Re: 9.0rc1 - query of view produces unexpected results From: Alvaro Herrera To: Nathan Grange In-reply-to: <4C8C2D58.5090308@actarg.com> References: <4C8C2D58.5090308@actarg.com> Date: Mon, 13 Sep 2010 23:58:51 -0400 Message-Id: <1284436684-sup-6808@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201009/34 X-Sequence-Number: 34565 Excerpts from Nathan Grange's message of sáb sep 11 21:31:04 -0400 2010: > Hello list, > > I don't know if it's me, or maybe even the way I designed these > dependencies, but I'm getting unexpected results when i query a specific > view. > Included are a buildDemo.sql file that will create the necessary tables > and views, and a runDemo.sql to demonstrate the query from #2 above. You didn't attach the files, so no one can study your problem. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support