X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 96FE5D1C4D5 for ; Wed, 30 Jul 2003 19:26:58 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 80570-09 for ; Wed, 30 Jul 2003 16:25:57 -0300 (ADT) Received: from davinci.ethosmedia.com (209-128-84-228.bayarea.net [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 4896DD1C4D6 for ; Wed, 30 Jul 2003 16:26:57 -0300 (ADT) Received: from [66.219.92.2] (HELO temoku) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 3361597; Wed, 30 Jul 2003 12:26:47 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Jamie Lawrence , pgsql-sql@postgresql.org Subject: Re: Fwd: Bad Join moment - how is this happening? Date: Wed, 30 Jul 2003 12:25:25 -0700 User-Agent: KMail/1.4.3 References: <20030730200732.GW1073@jal.clueinc.net> In-Reply-To: <20030730200732.GW1073@jal.clueinc.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200307301225.25626.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/464 X-Sequence-Number: 14578 Jamie, > General issue: I'm getting cartesean products instead of left joins, and > I feel like a moron. No, this is extremely bizarre. I can't think of an explanation for the=20 results you're getting, except that the view definition isn't what you thin= k=20 it is. Can you do a \d addenda and post the results? --=20 -Josh Berkus Aglio Database Solutions San Francisco