Re: Parsing of pg_hba.conf and authentication inconsistencies - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Parsing of pg_hba.conf and authentication inconsistencies
Date
Msg-id 48CECBBD.9040001@hagander.net
Whole thread Raw
In response to Re: Parsing of pg_hba.conf and authentication inconsistencies  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>>>> Or perhaps the DETAIL portion would be more appropriate as a CONTEXT?
>>> +1
> 
>> Is this the proper syntax for errcontext() messags?
> 
> Hmm, I think I'd suggest following the wording already in use in
> ts_locale.c:
> 
>         errcontext("line %d of configuration file \"%s\"",
>                    stp->lineno,
>                    stp->filename);
> 
> if only to save translation effort.
> 
> Also, in the last example, don't include the line number in the
> errmsg.  Otherwise it looks ok to me.

Updated and applied.

//Magnus



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Transaction Snapshots and Hot Standby
Next
From: Ron Mayer
Date:
Subject: 8.3 vs HEAD difference in Interval output?