pg_hba.conf - patch to report all parsing errors, and then bail

From: Selena Deckelmann <selena(at)endpoint(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pg_hba.conf - patch to report all parsing errors, and then bail
Date: 2009-03-07 18:10:06
Message-ID: 49B2B87E.2050001@endpoint.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Currently, load_hba() bails on the first parsing error. It would be
better for the typo-prone sysadmin if it reported ALL errors, and THEN
bailed out.

This patch implements that behavior. Tested against 8.4 HEAD this morning.

Idea is to do a similar thing for postgresql.conf. That is a little more
complicated and will be a separate patch.

-selena

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

Attachment Content-Type Size
hba_report_all_parse_errors_v1.patch text/plain 1.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-03-07 18:28:32 Re: pg_hba.conf - patch to report all parsing errors, and then bail
Previous Message Pavel Stehule 2009-03-07 17:54:50 Re: Out parameters handling