Re: plpgsql: fix parsing of integer range with underscores
Dean Rasheed <dean.a.rasheed@gmail.com>
From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: Erik Wienhold <ewie@ewie.name>
Cc: pgsql-hackers@postgresql.org
Date: 2024-06-04T11:21:21Z
Lists: pgsql-hackers
On Fri, 17 May 2024 at 09:22, Dean Rasheed <dean.a.rasheed@gmail.com> wrote: > > On Wed, 15 May 2024 at 02:14, Erik Wienhold <ewie@ewie.name> wrote: > > > > plpgsql fails to parse 1_000..1_000 as 1000..1000 in FOR loops: > > > > Fixed in the attached patch. > > > > Nice catch! The patch looks good to me on a quick read-through. > > I'll take a closer look next week, after the beta release, since it's > a v16+ bug. > (finally got back to this) Committed and back-patched to v16. Thanks for the report and patch. Regards, Dean
Commits
-
Fix PL/pgSQL's handling of integer ranges containing underscores.
- b4e909082fa1 16.4 landed
- cd2624fd97b0 17.0 landed