Re: Lexical Structure - String Constants

From: Sérgio Saquetim <sergiosaquetim(at)gmail(dot)com>
To:
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Lexical Structure - String Constants
Date: 2014-06-17 22:19:29
Message-ID: CACwnGOd-Gzu-gZ_B7RiYmL+Y=JzvpGzqykjGh=hv4DJj1OY_+w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2014-06-21 04:18:44 JSON doc problem
Previous Message Tom Lane 2014-06-17 04:12:34 Re: Lexical Structure - String Constants