Re: Parser bug results in ambiguous errors/behaviour - Mailing list pgsql-hackers

From Gavin Sherry
Subject Re: Parser bug results in ambiguous errors/behaviour
Date
Msg-id Pine.LNX.4.58.0509222258180.26887@linuxworld.com.au
Whole thread Raw
In response to Re: Parser bug results in ambiguous errors/behaviour  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, 22 Sep 2005, Tom Lane wrote:

> Gavin Sherry <swm@linuxworld.com.au> writes:
> > template1=# update foo set i=2,b='t' and t='bar' where i=1;
> > UPDATE 1
>
> This is perfectly legal SQL.  If it doesn't do what you intended,
> well, too bad.  We're not going to "fix" it.

Hmmm. Okay. It wasn't that I intended it to do anything -- it just looked
incorrect.

Thanks,

Gavin


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Parser bug results in ambiguous errors/behaviour
Next
From: Greg Stark
Date:
Subject: Re: feature proposal ...