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 1tiECu-00DAoS-LH for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Feb 2025 14:59:21 +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 1tiECs-009qzo-8k for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Feb 2025 14:59:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tiECr-009qzg-QT for pgsql-hackers@lists.postgresql.org; Wed, 12 Feb 2025 14:59:18 +0000 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tiECp-000Sjl-2H for pgsql-hackers@postgresql.org; Wed, 12 Feb 2025 14:59:18 +0000 Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfhigh.phl.internal (Postfix) with ESMTP id A129311401D9; Wed, 12 Feb 2025 09:59:13 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Wed, 12 Feb 2025 09:59:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1739372353; x=1739458753; bh=q/4upMryrzEY+VUnOoAgVHOVwGARDKL+ HqSE/Ou5DIA=; b=07UJeXwnhWDLRT9bW9/wlf1IC/najOEt6pX9UyO5vPK2ADQ4 HRN06Ctu37tD9dAAJ4z4zrqbgODGuHtiVJGao36xv9r1R06v/d6mAe/fw2jYje2t ocYOcFD7zbfA4BxEmWadQwVHgnUjjMZF87xn4QMoQpcrTNkvLraVTXoNuBYxS8SU sENmQk+MTBgaprUeUDsvKxjqu8VkvO8ff04TId3Qk7SRdgRE0pF658o/IhAONOG7 Cgq9bCzzj3ef8eFShtpzj3hpgtxC2wZvztEsRNBuCbAcBbRIyuphH1dxM0J3BIzV JucIUF2RTTBRT5+lEOMvuv2jLVcllwgmMKQ0oQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1739372353; x= 1739458753; bh=q/4upMryrzEY+VUnOoAgVHOVwGARDKL+HqSE/Ou5DIA=; b=Z lyUZaY1Ix96NTKAdOEuwUjYHG/nsO/SPWmOCKSWrv6OYEUVQDqaJ5GBSEOCm70Ga DErG8hAIRfLpGbeI6DKxTfIOFcxEG/qE/Ht3GsFtL6IBlWJKQGRjEqME7YkYo9Tg wP1KHVyo6Id6mO9On08aC1wY6kdphxccniKES5fToJ4Q4V5Pl2d5dwSPlQ5TnT3N lqX9obD2mLNEvFvZWdYdIHKlgD/4yzpokgM3pKvBjSSmrFHMeI+tROzxRi0Hwy0h RVU8gBOsJp9D+BKxAWQTX4gxzmNqQbaOYz41AFOo9QyFbbrmkpv07CoAd8Pnm70n /1+0C3No+vP+HZTpIMO1g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeggedukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv jeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhesvghish gvnhhtrhgruhhtrdhorhhgqeenucggtffrrghtthgvrhhnpefgjedthfekfedtuefgieel heetleejgefhueeltdfhueetvdffudekfeejhfegheenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdr ohhrghdpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoh epjhgrtghosgdrtghhrghmphhiohhnsegvnhhtvghrphhrihhsvggusgdrtghomhdprhgt phhtthhopegurghnihgvlheshigvshhqlhdrshgvpdhrtghpthhtoheprghhsegthigsvg hrthgvtgdrrghtpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhr vghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 Feb 2025 09:59:12 -0500 (EST) Message-ID: <25b978e4-6be9-4c83-989b-574e5e79b276@eisentraut.org> Date: Wed, 12 Feb 2025 15:59:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER To: Jacob Champion , Daniel Gustafsson Cc: Antonin Houska , PostgreSQL Hackers References: <54c008ad-1c23-47d8-ba6c-bed98a39c31c@eisentraut.org> <06102deb-00ef-431d-a3ea-65afb246700a@eisentraut.org> <39A09EC8-2D72-4130-8C3E-8F3D1CC69A12@yesql.se> <55EA9E76-9866-486C-9C7F-C5E8B071C50E@yesql.se> <35CBB6AD-B847-4C26-9A7B-019279F280C8@yesql.se> <9F184CFE-ED8D-4B86-9529-F07821108C93@yesql.se> Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 08.02.25 02:56, Jacob Champion wrote: >> + oauth_json_set_error(ctx, /* don't bother translating */ >> With the project style format for translator comments this should be: >> >> + /* translator: xxx */ >> + oauth_json_set_error(ctx, > This comment was just meant to draw attention to the lack of > libpq_gettext(). Does it still need a translator note if we don't run > it through translation? No, that wouldn't have any effect. I think you can just remove that comment. It's pretty established that internal errors don't need translation, so it would be understood from looking at the code.