Re: Prevent numeric literals from having non-numeric trailing characters (Peter Eisentraut)

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Fabrice Chapuis <fabrice636861(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Prevent numeric literals from having non-numeric trailing characters (Peter Eisentraut)
Date: 2025-06-20 16:39:45
Message-ID: e980f1c4-e5b1-48fc-b761-633b1cac0811@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 20.06.25 15:29, Fabrice Chapuis wrote:
> Regarding the changes made in version 15 for the traitment of the non-
> numeric trailing characters, why does parsing continue to be permissive
> with parentheses (no need to add a space)? Are we still in standard SQL?

Yes, a parenthesis is a "delimiter token", so there does not need to be
a separator between it and an adjacent token.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2025-06-20 17:15:47 Re: Improve the performance of Unicode Normalization Forms.
Previous Message Tom Lane 2025-06-20 16:35:46 Re: Removing rm regress.def