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-05-17 08:22:43
Message-ID: CAEZATCUbiP0eUqP5AfUwus+HZMAyqAXTADrBGnzCDh1HSUkhHA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Regards,
Dean

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-05-17 08:47:08 Re: commitfest.postgresql.org is no longer fit for purpose
Previous Message Jelte Fennema-Nio 2024-05-17 08:15:39 Re: commitfest.postgresql.org is no longer fit for purpose