| From: | Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com> |
|---|---|
| To: | Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Cc: | Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com> |
| Subject: | Fix OAuth validator docs for error_detail on internal errors |
| Date: | 2026-06-04 12:33:39 |
| Message-ID: | 0281836A-F5FF-41A5-9EE1-656C1FAAC6B2@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 that the 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_detail are ignored”. This patch just makes that tiny doc fix.
Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/
| Attachment | Content-Type | Size |
|---|---|---|
| v1-0001-doc-Clarify-OAuth-validator-error_detail-handling.patch | application/octet-stream | 1.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ewan Young | 2026-06-04 12:44:19 | Re: (SQL/PGQ) cache lookup failed for label |
| Previous Message | Imran Zaheer | 2026-06-04 12:22:08 | Move system identifier generation to a common helper |