Re: Thomas Munro 2017-08-10
<CAEepm=09jnv7hk5rtxpp816bmuve7djgbjtecjexrhaelhf...@mail.gmail.com>
> > Agreed. Here's a version that skips those useless detail messages
> > using a coding pattern I found elsewhere.
>
> Rebased after bf6b9e94.
> message ? errdetail("Diagnostic message: %s", message) : 0));
"Diagnostic message" doesn't really mean anything, and printing
"DETAIL: Diagnostic message: <something>" seems redundant to me. Maybe
drop that prefix? It should be clear from the context that this is a
message from the LDAP layer.
Or maybe simply append ": <message>" to the error message already shown?
Christoph
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers