pgsql: guc: reentrant scanner

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: guc: reentrant scanner
Date: 2024-12-25 13:49:16
Message-ID: E1tQRlE-001HDh-0B@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

guc: reentrant scanner

Use the flex %option reentrant to make the generated scanner
reentrant, and perhaps eventually thread-safe, but that will require
additional work.

Reviewed-by: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Reviewed-by: Andreas Karlsson <andreas(at)proxel(dot)se>
Discussion: https://www.postgresql.org/message-id/flat/eb6faeac-2a8a-4b69-9189-c33c520e5b7b(at)eisentraut(dot)org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d663f150b5edd5ec4a5a3bbc24f9ad7e40f1abbb

Modified Files
--------------
src/backend/utils/misc/guc-file.l | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2024-12-25 16:18:52 pgsql: meson: Export all libcommon functions in Windows builds
Previous Message Peter Eisentraut 2024-12-24 22:42:56 pgsql: jsonpath scanner: reentrant scanner