Re: Add http connection service file functionality

From: Andrew Jackson <andrewjackson947(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add http connection service file functionality
Date: 2026-04-06 21:39:38
Message-ID: CAKK5BkE5pzWxhTu+sCeee+KwhKUL4WabnLbQkx=Sd1DDfXUaUg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

I went ahead and repurposed this patch to implement connection
parameter lookup similar to how it is currently done for LDAP. This
means this will only look up the info for a single service and is only
accessible via the pg_service.conf file. I also tested builds for with
and without oauth configured and it builds so I think the CI issues
should be fixed now. I also expanded unit tests significantly.

Also I forgot to mention in my last emails that the implementation for
the libcurl logic was mostly borrowed from the libcurl docs[0].

Thanks,
Andrew Jackson

[0]: https://curl.se/libcurl/c/fopen.html

Attachment Content-Type Size
0001-Add-http-connection-paramater-lookup-functionality.patch text/x-patch 37.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2026-04-06 21:40:26 Re: DEREF_AFTER_NULL: src/common/jsonapi.c:2529
Previous Message Tom Lane 2026-04-06 21:31:49 Re: enable fallthrough warnings on clang