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 <[email protected]>
Reviewed-by: Andreas Karlsson <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/flat/[email protected]

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(-)

Reply via email to