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

postgresql.conf: patch to have ParseConfigFile report all parsing errors, then bail

From: Selena Deckelmann <selena(at)endpoint(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: postgresql.conf: patch to have ParseConfigFile report all parsing errors, then bail
Date: 2009-03-08 23:27:28
Message-ID: 49B45460.6040108@endpoint.com (view raw or flat)
Thread:
Lists: pgsql-hackers
ParseConfigFile currently exits on the first parsing error. Changed 
guc_file.l to report all parsing errors before exiting:
* Moved parse_error: block inside while() loop
* Removed cleanup_exit: and associated 'goto'
* Added ereport if ParseConfigFile() returns false
* changed OK to ok ;)
* Added comment - TODO: Report bogus variables in addition to parsing 
errors before bailing out

-selena

-- 
Selena Deckelmann
End Point Corporation
selena(at)endpoint(dot)com
503-282-2512

Attachment: postgresql.conf_report_all_parser_errors_v1.patch
Description: text/plain (3.3 KB)

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2009-03-08 23:29:42
Subject: Re: compiler failures on buildfarm member wombat
Previous:From: Tom LaneDate: 2009-03-08 23:03:56
Subject: Re: ERROR: "failed to locate grouping columns"

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