Re: [SQL] table aliasing problem with 6.5...

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Howie <caffeine(at)toodarkpark(dot)org>, pgsql-sql(at)hub(dot)org
Subject: Re: [SQL] table aliasing problem with 6.5...
Date: 1999-09-28 04:48:35
Message-ID: 199909280448.AAA01722@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> > 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Sebestyen Zoltan 1999-09-28 08:55:13 Re: [SQL] pg_dumpall + psql -e template1
Previous Message Haris Susanto 1999-09-28 03:52:23 pqReadData()