Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uZsSd-009S5L-7W for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Jul 2025 14:41:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uZsSb-00Dh3q-0M for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Jul 2025 14:41:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uZsSa-00Dh3i-Mp for pgsql-hackers@lists.postgresql.org; Thu, 10 Jul 2025 14:41:17 +0000 Received: from forward101d.mail.yandex.net ([178.154.239.212]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uZsSX-006aaK-1x for pgsql-hackers@postgresql.org; Thu, 10 Jul 2025 14:41:16 +0000 Received: from mail-nwsmtp-smtp-production-main-59.klg.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-59.klg.yp-c.yandex.net [IPv6:2a02:6b8:c42:37a7:0:640:7089:0]) by forward101d.mail.yandex.net (Yandex) with ESMTPS id 1130F608E0; Thu, 10 Jul 2025 17:41:10 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-59.klg.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 8fkIDYNLx4Y0-Q0hjiEUu; Thu, 10 Jul 2025 17:41:09 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tantorlabs.com; s=mail; t=1752158469; bh=HG4JoMmiVvrOClpjnJxgeaFepb8xoVzdQ3UDm+zjoNY=; h=In-Reply-To:Subject:References:To:From:Date:Message-ID; b=eEXyxbMShZ3L0zQfRbSAMDmnHUQAHnC9xl2Coq5MLaoh9auFBu33baxJlytzcVcij Wz4naPejmL7dxSO2lx9BVzgP+Oi3d8/WEiunT7AppT4GEJCgt4bMF+o0vRK+3lHwAg nNbZFBNmMd+3I0ogVe/WAcAw9BsDNaP7m21uWzY0= Authentication-Results: mail-nwsmtp-smtp-production-main-59.klg.yp-c.yandex.net; dkim=pass header.i=@tantorlabs.com Message-ID: Date: Thu, 10 Jul 2025 17:41:07 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: ivan.kush@tantorlabs.com To: Jacob Champion , Tom Lane , PostgreSQL Hackers , lev.nikolaev@tantorlabs.com Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER References: <83C44AB4-24B0-437F-B139-B5CBC5821BB1@yesql.se> <32e5741d-3dc8-4b15-8c56-cfb26483563c@tantorlabs.com> <1328170.1752082586@sss.pgh.pa.us> <1338490.1752088027@sss.pgh.pa.us> <1342154.1752090150@sss.pgh.pa.us> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I agree with the patch. Works in my OSes On 7/10/25 2:54 AM, Jacob Champion wrot= e: > On Wed, Jul 9, 2025 at 12:42=E2=80=AFPM Tom Lane wr= ote: > > Nah, let's keep them. We do document for at least some libraries > > how to manually specify the include and link options without > > depending on pkg-config. If someone tries that with libcurl, > > it'd be good to have sanity checks on the results. >=20 > Sounds good, thanks for the review! >=20 > On Wed, Jul 9, 2025 at 11:39=E2=80=AFAM Jacob Champion > wrote: > > Here is a draft patch for Ivan's reported issue; I still need to put > > it through its paces with some more unusual setups, but I want to get > > cfbot on it. >=20 > On HEAD, Rocky 9 fails to build with a custom Curl PKG_CONFIG_PATH and > no libcurl-devel installed. With this patch, that build now succeeds, > and it still succeeds after libcurl-devel is reinstalled, with the > compiler tests continuing to use the custom libcurl and not the > system's. >=20 > So I'll give Ivan a little time in case he'd like to test/review > again, but otherwise I plan to push it this week. >=20 > Thanks, > --Jacob >=20