Re: BUG #5732: parsing of: "WHERE mycol=123AND ..." - Mailing list pgsql-bugs

From Josh Kupershmidt
Subject Re: BUG #5732: parsing of: "WHERE mycol=123AND ..."
Date
Msg-id AANLkTik-hkmbPFa=YuBX-W5vYZFg-cdcZEB_E4AVOQqG@mail.gmail.com
Whole thread Raw
In response to Re: BUG #5732: parsing of: "WHERE mycol=123AND ..."  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: BUG #5732: parsing of: "WHERE mycol=123AND ..."
List pgsql-bugs
On Thu, Oct 28, 2010 at 8:03 PM, Jeff Davis <pgsql@j-davis.com> wrote:
> I don't really see a "bug" here. Is this causing you some kind of
> problem?

I happened to notice it while fixing up some code using multi-line
strings which had forgotten to put spaces in the SQL across lines. I
was just surprised Postgres didn't throw an error.

The only mild concern I have is if this could possibly lead to
ambiguous parsing in some situations, though I've played with some
examples and I haven't seen any yet. It would be nice to have this
behavior documented somewhere though.

Josh

pgsql-bugs by date:

Previous
From: Josh Kupershmidt
Date:
Subject: Re: BUG #5732: parsing of: "WHERE mycol=123AND ..."
Next
From: Tom Lane
Date:
Subject: Re: BUG #5732: parsing of: "WHERE mycol=123AND ..."