Re: Fix OAuth validator docs for error_detail on internal errors

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
Subject: Re: Fix OAuth validator docs for error_detail on internal errors
Date: 2026-06-04 20:19:30
Message-ID: D9F1340C-22C2-43A5-B790-5D5EB379394A@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 4 Jun 2026, at 14:33, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com> wrote:

> “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.

That's true, but error_detail is explained in detail in the next paragraph so
I'm not sure this change is needed.

Another thing we don't explicitly document which seems more interesting is that
authn_id is used even in case of failure if log_connections is enabled. Maybe
that deserves a mention?

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2026-06-04 20:38:36 Re: Row pattern recognition
Previous Message Ethan Mertz 2026-06-04 20:07:00 Re: Skip prefetch for block references that follow a FPW or WILL_INIT of the same block