From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Joseph Shraibman <jks@selectacast.net>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgreSQL.org>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: [HACKERS] Re: aliases break my query
Date: Wed, 31 May 2000 02:04:12 +0000
Message-ID: <3934731C.C2D35105@alumni.caltech.edu> (raw)
References: <Pine.GSO.4.02A.10005261453420.12244-100000@Falk.DoCS.UU.SE>
<2392.959358366@sss.pgh.pa.us>
> At one time Bruce had made some patches to emit informative notice
> messages about implicit FROM entries, but that got turned off again
> for reasons that I forget...
It was triggered with common cases from the "outer join" syntax. It took
a while to track down since it was introduced while I was working on the
syntax feature :(
If it *really* needs to be put back in, then we should do so with a flag
so we can disable the warning at compile time, run time, and/or in the
outer join parser area. But imho sprinkling the parser with warnings for
allowed syntax is heading the wrong direction. If it is legal, allow it.
If it is illegal, disallow it. If it is confusing for some, but works
fine for others, it shouldn't become "sort of legal" with a warning.
- Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: lockhart@alumni.caltech.edu, tgl@sss.pgh.pa.us, peter_e@gmx.net, jks@selectacast.net, pgsql-hackers@postgreSQL.org
Subject: Re: [HACKERS] Re: aliases break my query
In-Reply-To: <3934731C.C2D35105@alumni.caltech.edu>
References: <Pine.GSO.4.02A.10005261453420.12244-100000@Falk.DoCS.UU.SE> <2392.959358366@sss.pgh.pa.us> <3934731C.C2D35105@alumni.caltech.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox