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 1soHxX-009xkj-Hh for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Sep 2024 07:40:17 +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 1soHxX-00B0SK-7Q for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Sep 2024 07:40:15 +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 1soHv8-00AwDy-0a for pgsql-hackers@lists.postgresql.org; Wed, 11 Sep 2024 07:37:47 +0000 Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1soHv0-000ama-RR for pgsql-hackers@postgresql.org; Wed, 11 Sep 2024 07:37:44 +0000 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id AD2631140253; Wed, 11 Sep 2024 03:37:37 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Wed, 11 Sep 2024 03:37:37 -0400 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=fm3; t=1726040257; x=1726126657; bh=IhgApgUbDbfA4PfsUNzMyWlsI6nMAUeK nDegYbiL1tY=; b=adtj2+WFzge8Tcm7uUqUKo1mR0v3KCPsfN1bWrC1Ub8aW0nm gF3+IsutV4JFLDqMMNciDma2r0chrJjNTnyNGrv27dFpWgyeKXDzlEKhmzHsJ+s4 xP59cJMs8Yh2s8VW3cjdHDCldl3GxVUuDsJ1DtXOEcBtK0c2bvuYGLrUoXAktf4q dSBc/uPqw24qeQ4tVDa7RCDxCXcOrqZaelRm5XYgx5C/QSrByadsKPhO/v68Qmv7 5n7vtmpr+YXetTfoJA1Qw2MpzMow3wGuksqpcot0nAE15Xh32wasp0OoxQewoHx5 zeyYqkLVtsH9jbpwRLFfDpn0ImDdeABXv3RZPQ== 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-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1726040257; x= 1726126657; bh=IhgApgUbDbfA4PfsUNzMyWlsI6nMAUeKnDegYbiL1tY=; b=D HzbTuQhVQJ2rrqL7BUfjzT3E0K3w8YGsiS0f2lBSY7egDDMXqhDn/zZFflA4Ak5Q DAXzH9rWOLtdvojxAaetBrV6obk/jgy+HQsbNIlXsXVpTiwfvd3C6PRyr7/xcrAD 5XJViHc9rNRK8QXSpBXHaiJIuUoOete08jyR8wRSqgUOmnEuigLwVTHtc5yvHUzw bGR44ccQgsfTx9UvOs2dlbTpOnP1TxvzM8V+QR4V5o3UKRR8STxJOoLnWn/ZE5mo qVWhraZUrf/dOvFWRv15mstBfQXiW0RYV6wPw5eKU+Te7hnTd2JKzN9zD5SaQhvA oh2bC57ag2dQgzaH/unxw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudejtddguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuhffvvehfjggtgfesthekredttddv jeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhesvghish gvnhhtrhgruhhtrdhorhhgqeenucggtffrrghtthgvrhhnpedvjeeihffhvdefheevleek veeujefhieduueeljeekieejieegfefhtdfhleejgeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdr ohhrghdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoh epjhgrtghosgdrtghhrghmphhiohhnsegvnhhtvghrphhrihhsvggusgdrtghomhdprhgt phhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehpohhsthhgrhgvshhqlhdrohhrghdprh gtphhtthhopegurghnihgvlheshigvshhqlhdrshgv X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 11 Sep 2024 03:37:36 -0400 (EDT) Message-ID: <67b7e52e-0d6e-4eb5-9318-fdcfa4e7ea51@eisentraut.org> Date: Wed, 11 Sep 2024 09:37:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER From: Peter Eisentraut To: Jacob Champion Cc: PostgreSQL Hackers , Daniel Gustafsson References: <3603e9bb-9a69-4761-869b-f5b1f204b840@eisentraut.org> <390f9699-6275-4e1e-a600-11452bee0576@eisentraut.org> Content-Language: en-US In-Reply-To: <390f9699-6275-4e1e-a600-11452bee0576@eisentraut.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 04.09.24 11:28, Peter Eisentraut wrote: > On 03.09.24 22:56, Jacob Champion wrote: >>> The parse_strval field could use a better explanation. >>> >>> I actually don't understand the need for this field.  AFAICT, this is >>> just used to record whether strval is valid. >> No, it's meant to track the value of the need_escapes argument to the >> constructor. I've renamed it and moved the assignment to hopefully >> make that a little more obvious. WDYT? > > Yes, this is clearer. > > This patch (v28-0001) looks good to me now. This has been committed. About the subsequent patches: Is there any sense in dealing with the libpq and backend patches separately in sequence, or is this split just for ease of handling? (I suppose the 0004 "review comments" patch should be folded into the respective other patches?) What could be the next steps to keep this moving along, other than stare at the remaining patches until we're content with them? ;-)