Re: Add http connection service file functionality
Andrew Jackson <andrewjackson947@gmail.com>
From: Andrew Jackson <andrewjackson947@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-04-06T21:39:38Z
Lists: pgsql-hackers
Attachments
- 0001-Add-http-connection-paramater-lookup-functionality.patch (text/x-patch) patch 0001
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