Re: plpgsql: fix parsing of integer range with underscores

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: Erik Wienhold <ewie(at)ewie(dot)name>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: plpgsql: fix parsing of integer range with underscores
Date: 2024-06-04 11:21:21
Message-ID: CAEZATCXvoJVCnPT9bwj4LtcTCUVHTN97i3VyCA51GtV2Vv6EhA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 17 May 2024 at 09:22, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> wrote:
>
> On Wed, 15 May 2024 at 02:14, Erik Wienhold <ewie(at)ewie(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2024-06-04 11:22:55 Re: Logical Replication of sequences
Previous Message Amit Kapila 2024-06-04 10:57:03 Logical Replication of sequences