Fix OAuth validator docs for error_detail on internal errors - Mailing list pgsql-hackers

From Chao Li
Subject Fix OAuth validator docs for error_detail on internal errors
Date
Msg-id 0281836A-F5FF-41A5-9EE1-656C1FAAC6B2@gmail.com
Whole thread
Responses Re: Fix OAuth validator docs for error_detail on internal errors
List pgsql-hackers
Hi,

While testing “[d438a3659] oauth: Let validators provide failure DETAILs”, I noticed a tiny doc issue.

With this feature, when a validator returns false, result->error_detail can carry an error message. However, it seems
thatthe previous paragraph was not updated: 
```
   <para>
    A validator may return <literal>false</literal> to signal an internal error,
    in which case any result parameters are ignored and the connection fails.

```

“Any result parameters are ignored” is no longer accurate; it should be something like “any result parameters except
result->error_detailare ignored”. This patch just makes that tiny doc fix. 

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/





Attachment

pgsql-hackers by date:

Previous
From: Imran Zaheer
Date:
Subject: Move system identifier generation to a common helper
Next
From: Ewan Young
Date:
Subject: Re: (SQL/PGQ) cache lookup failed for label