Re: AW: New warning code for missing FROM relations

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
Cc: "'Peter Eisentraut'" <peter_e(at)gmx(dot)net>, "'PostgreSQL-development'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: AW: New warning code for missing FROM relations
Date: 2000-06-05 10:25:12
Message-ID: 200006051025.GAA19515@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > The irony in the given example is that the SELECT INTO
> > command isn't in
> > the standard in the first place so you'd have to create all sorts of
> > double standards. Certain things would be "extensions", certain things
> > would be "misuse". And for all it's worth, we have no idea
> > which is which.
> >
> > If you want to throw about warnings about "probable" coding
> > errors and the
> > like one *must* be able to switch them off. Either something is right,
> > then you shut up. Or it's wrong, then you throw an error. Or
> > you're not
> > sure, then you better leave it up to the user.
>
> Yes, only Bruce and I are of the opinion that it *is* an Error, and I guess
> we want some consensus.
> The notice is imho of the sort: notice this syntax is going to be disallowed
> soon.

I see the notice as "Hey, you probably did something you didn't want to do".

--
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-06-05 10:58:27 INSTALL/install.sgml file
Previous Message Vince Vielhaber 2000-06-05 10:03:10 Re: 7.0.1 Problems.