Received: from candle.pha.pa.us (maillist@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.3/8.9.3) with ESMTP id AAA26145 for ; Tue, 28 Sep 1999 00:50:36 -0400 (EDT) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id AAA01722; Tue, 28 Sep 1999 00:48:35 -0400 (EDT) From: Bruce Momjian Message-Id: <199909280448.AAA01722@candle.pha.pa.us> Subject: Re: [SQL] table aliasing problem with 6.5... In-Reply-To: <27649.938472335@sss.pgh.pa.us> from Tom Lane at "Sep 27, 1999 06:45:35 pm" To: Tom Lane Date: Tue, 28 Sep 1999 00:48:35 -0400 (EDT) CC: Howie , pgsql-sql@hub.org X-Mailer: ELM [version 2.4ME+ PL56 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > I am interested in comments about my wording, and this behavour. > > I think this is a fine idea, but that wording might not be much help > to novices. Maybe "Adding missing FROM-clause entry for pg_language", > or some such? Wording change to your version. > > In a situation where you've got subselects, it may not be immediately > obvious which FROM list the entry got added to. I can't think of any > simple way of identifying that, however :-( Not sure how to handle that either. I could print the subquery level number, or I could say "in subquery" or even go fancy and do "in sub-sub-query" depending on the number of levels down. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026