Re: plpgsql: fix parsing of integer range with underscores

2024-06-04 Thread Erik Wienhold
On 2024-06-04 13:21 +0200, Dean Rasheed wrote: > Committed and back-patched to v16. Thanks for the report and patch. Thanks for the review and push Dean. -- Erik

Re: plpgsql: fix parsing of integer range with underscores

2024-06-04 Thread Dean Rasheed
On Fri, 17 May 2024 at 09:22, Dean Rasheed wrote: > > On Wed, 15 May 2024 at 02:14, Erik Wienhold 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

Re: plpgsql: fix parsing of integer range with underscores

2024-05-17 Thread Dean Rasheed
On Wed, 15 May 2024 at 02:14, Erik Wienhold 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+

plpgsql: fix parsing of integer range with underscores

2024-05-14 Thread Erik Wienhold
on Sep 17 00:00:00 2001 From: Erik Wienhold Date: Wed, 15 May 2024 02:43:12 +0200 Subject: [PATCH] plpgsql: fix parsing of integer range with underscores Fix lexer rule "numericfail" that ensures that we parse 1_000..1_000 as 1000..1000 instead of failing with 'syntax error at or near "