pgsql: Catch fatal flex errors in the GUC file lexer.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Catch fatal flex errors in the GUC file lexer.
Date: 2012-01-18 02:49:00
Message-ID: E1RnLa8-000080-5j@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2012-01-18 03:07:51 pgsql: Regression tests for security_barrier views.
Previous Message Robert Haas 2012-01-17 01:37:41 pgsql: fastgetattr is in access/htup.h, not access/heapam.h