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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
postgresql.conf_report_all_parser_errors_v1.patch text/plain 3.3 KB

Responses

Browse pgsql-hackers by date

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