On Tue, Feb 17, 2026 at 9:23 AM Jonathan Gonzalez V.
<jonathan.abdiel@gmail.com> wrote:
> I'm attached a v2 of this patch I'm not really sure if this is what you
> mean.
At a glance, I think so!
> +#define conn_oauth_ca_file(CONN) (CONN->oauth_ca_file)
Arrrghh I hadn't even considered that this thread would conflict with
the changes over at [1]. Well, the silver lining is that I already
know I have to get most of that work in; this just serializes things.
> I want to add some test for this option that I think it could be really
> useful, what do you think?
Definitely. I could see either upgrading the oauth_validator test
suite to use HTTPS throughout, and then setting the new envvar
globally, or just adding a single test that switches it on (but I'm
not sure that's actually less work, since you have to teach
oauth_server.py to speak HTTPS either way).
Thanks!
--Jacob
[1] https://postgr.es/m/CAOYmi%2BmrGg%2Bn_X2MOLgeWcj3v_M00gR8uz_D7mM8z%3DdX1JYVbg%40mail.gmail.com