Re: pure parsers and reentrant scanners

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pure parsers and reentrant scanners
Date: 2024-12-16 08:40:57
Message-ID: 8befd830-3b8c-4559-bd43-d3183010a8a4@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 16/12/2024 09:39, Peter Eisentraut wrote:
> On 02.12.24 10:46, Peter Eisentraut wrote:
>> This patch series changes several parsers in the backend and contrib
>> modules to use bison pure parsers and flex reentrant scanners. This is
>> ultimately toward thread-safety, but I think it's also just nicer in
>> general, and it might also fix a few possible small memory leaks.
>
> I did a bit more work on this, so here is an updated patch set.

Looks good to me. There's more work to be done, but this is all good
steps in the right direction.

--
Heikki Linnakangas
Neon (https://neon.tech)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2024-12-16 09:01:01 Re: Sort functions with specialized comparators
Previous Message Evgeny 2024-12-16 08:38:17 Re: Add 64-bit XIDs into PostgreSQL 15