Re: New warning code for missing FROM relations

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Zeugswetter Andreas <andreas(dot)zeugswetter(at)telecom(dot)at>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: New warning code for missing FROM relations
Date: 2000-06-04 17:48:51
Message-ID: 200006041748.NAA20659@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I like it the way you did it. Personally I would even throw an error,
> but that would probably be too strict.

Yes, I figured the same.

>
> I would change the regressiontest to add onek to the from clause,
> and not make it throw the warning.
> Imho this example is only good to demonstrate how you can
> misuse a feature.

OK.

>
> There are good examples for using it, but all of those that I can think of
> don't have a from clause.

Yes, that was my logic.

--
Bruce Momjian | http://www.op.net/~candle
pgman(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-hackers by date

  From Date Subject
Next Message Tom Lane 2000-06-04 18:22:53 Re: Commit messages list
Previous Message Bruce Momjian 2000-06-04 17:36:30 Re: New warning code for missing FROM relations