Received: from candle.pha.pa.us (maillist@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.8.8/8.7.5) with ESMTP id WAA03769 for ; Thu, 25 Jun 1998 22:13:37 -0400 (EDT) Received: (from maillist@localhost) by candle.pha.pa.us (8.8.5/8.8.5) id WAA15851; Thu, 25 Jun 1998 22:13:47 -0400 (EDT) From: Bruce Momjian Message-Id: <199806260213.WAA15851@candle.pha.pa.us> Subject: Re: [SQL] SQL Bug? To: lynch@lscorp.com (Richard Lynch) Date: Thu, 25 Jun 1998 22:13:47 -0400 (EDT) Cc: pgsql-sql@postgreSQL.org In-Reply-To: from "Richard Lynch" at Jun 25, 98 08:54:31 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > I'm far from an SQL expert, but... > > select field1 from table1 where table2.field2 = table1.field3; > > This query, which uses tables in the where clause that aren't in the list > of tables, actually does what one would sorta expect in PostgreSQL, but > isn't it a bug for it to do that?... > > Not that I mind, since it's what I accidentally coded anyways. It is a feature we have not removed. -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)