From: | Bruno Wolff III <bruno(at)wolff(dot)to> |
---|---|
To: | John Siracusa <siracusa(at)mindspring(dot)com> |
Cc: | Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Adding missing FROM clause - thanks or no thanks? |
Date: | 2004-01-27 18:28:03 |
Message-ID: | 20040127182803.GA6328@wolff.to |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Jan 27, 2004 at 13:00:15 -0500,
John Siracusa <siracusa(at)mindspring(dot)com> wrote:
>
> Anyway, I fixed the query construction bug, but I have a question: is this
> "adding missing FROM-clause entry" behavior part of the SQL standard(s) or a
> "feature" of Postgres? Prior to seeing this, I'd have expected a query like
> the above to cause a fatal error in the parsing stage. Put another way, can
> someone give me an example of when this behavior is useful or desirable?
It is an extension. I think starting with 7.4 you can turn it off.
It is sort of useful for delete where there isn't a syntax to specify
addition tables, though I think you can get the same functionality
even there using subselects in the where clause.
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-01-27 18:34:03 | Re: Adding missing FROM clause - thanks or no thanks? |
Previous Message | Thapliyal, Deepak | 2004-01-27 18:26:35 | Postgress resumes ... |