pgsql: Catch fatal flex errors in the GUC file lexer. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Catch fatal flex errors in the GUC file lexer.
Date
Msg-id E1RnLa8-000080-5j@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Catch fatal flex errors in the GUC file lexer.

This prevents the postmaster from unexpectedly croaking if postgresql.conf
contains something like:

include 'invalid_directory_name'

Noah Misch. Reviewed by Tom Lane and myself.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4b496a3583ecb3f70bb4d13f8275dbb7e5b26100

Modified Files
--------------
src/backend/utils/misc/guc-file.l |   65 ++++++++++++++++++++++++++++++-------
1 files changed, 53 insertions(+), 12 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: fastgetattr is in access/htup.h, not access/heapam.h
Next
From: Robert Haas
Date:
Subject: pgsql: Regression tests for security_barrier views.