Re: Lexical Structure - String Constants - Mailing list pgsql-docs

From Sérgio Saquetim
Subject Re: Lexical Structure - String Constants
Date
Msg-id CACwnGOd-Gzu-gZ_B7RiYmL+Y=JzvpGzqykjGh=hv4DJj1OY_+w@mail.gmail.com
Whole thread Raw
In response to Re: Lexical Structure - String Constants  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs

> "10e" is not a valid number, just like the manual says.  But "10" is a
> valid number, and "e" is a valid column alias, so this is equivalent
> to "SELECT 10 AS e".  There's no requirement for white space between
> adjacent tokens, if the tokens couldn't validly be run together into
> one token.

Thanks Tom, 

I haven't noticed that fact. I'll refactor my lexer to deal with that.

Regards,

Sérgio Saquetim
 

pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Lexical Structure - String Constants
Next
From: Bruce Momjian
Date:
Subject: JSON doc problem