Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group