1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00
Files
postgres/src/backend/utils/adt
Peter Eisentraut 2a7425d7ee jsonpath scanner: reentrant scanner
Use the flex %option reentrant to make the generated scanner
reentrant and thread-safe.  Note: The parser was already pure.

Simplify flex scan buffer management: Instead of constructing the
buffer from pieces and then using yy_scan_buffer(), we can just use
yy_scan_string(), which does the same thing internally.  (Actually, we
use yy_scan_bytes() here because we already have the length.)

Use flex yyextra to handle context information, instead of global
variables.  This complements the other changes to make the scanner
reentrant.

Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Reviewed-by: Andreas Karlsson <andreas@proxel.se>
Discussion: https://www.postgresql.org/message-id/flat/eb6faeac-2a8a-4b69-9189-c33c520e5b7b@eisentraut.org
2024-12-24 23:42:41 +01:00
..
2022-09-04 12:09:01 +07:00
2024-11-28 08:27:20 +01:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-11-28 08:27:20 +01:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-11-28 08:27:20 +01:00
2024-11-28 08:27:20 +01:00
2024-11-28 08:27:20 +01:00
2024-01-03 20:49:05 -05:00
2024-11-28 08:27:20 +01:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-10-11 11:02:09 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-12-24 11:49:07 +01:00
2024-01-03 20:49:05 -05:00
2024-11-28 08:27:20 +01:00
2024-11-28 08:27:20 +01:00
2024-07-27 23:46:07 +12:00
2024-01-03 20:49:05 -05:00
2024-12-04 16:44:40 +01:00
2024-11-28 08:27:20 +01:00
2024-08-14 08:07:52 +02:00
2024-01-03 20:49:05 -05:00
2024-08-14 08:07:52 +02:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-11-28 08:27:20 +01:00
2024-11-28 08:27:20 +01:00
2024-11-28 08:27:20 +01:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-11-28 08:27:20 +01:00
2024-11-28 08:27:20 +01:00
2024-12-11 15:54:41 -08:00
2024-01-03 20:49:05 -05:00