Re: Add http connection service file functionality - Mailing list pgsql-hackers

From Andrew Jackson
Subject Re: Add http connection service file functionality
Date
Msg-id CAKK5BkE5pzWxhTu+sCeee+KwhKUL4WabnLbQkx=Sd1DDfXUaUg@mail.gmail.com
Whole thread
In response to Re: Add http connection service file functionality  (Andrew Jackson <andrewjackson947@gmail.com>)
List 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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: enable fallthrough warnings on clang
Next
From: Andres Freund
Date:
Subject: Re: DEREF_AFTER_NULL: src/common/jsonapi.c:2529