Re: [SQL] SQL Bug?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: lynch(at)lscorp(dot)com (Richard Lynch)
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] SQL Bug?
Date: 1998-06-26 02:13:47
Message-ID: 199806260213.WAA15851@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>
> 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(at)candle(dot)pha(dot)pa(dot)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)

In response to

  • SQL Bug? at 1998-06-26 01:54:31 from Richard Lynch

Browse pgsql-sql by date

  From Date Subject
Next Message Joao Paulo Felix 1998-06-26 17:20:38 Updating multiple fields
Previous Message Richard Lynch 1998-06-26 01:54:31 SQL Bug?