Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o40jT-0002nO-Lb for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jun 2022 13:49:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o40jS-0004q8-I5 for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jun 2022 13:49:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o40jS-0004pk-9A for pgsql-hackers@lists.postgresql.org; Wed, 22 Jun 2022 13:49:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o40jQ-0007wQ-6m for pgsql-hackers@lists.postgresql.org; Wed, 22 Jun 2022 13:49:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 25MDnH253338922; Wed, 22 Jun 2022 09:49:17 -0400 From: Tom Lane To: "Drouvot, Bertrand" cc: PostgreSQL Hackers Subject: Re: SYSTEM_USER reserved word implementation In-reply-to: <7e692b8c-0b11-45db-1cad-3afc5b57409f@amazon.com> References: <7e692b8c-0b11-45db-1cad-3afc5b57409f@amazon.com> Comments: In-reply-to "Drouvot, Bertrand" message dated "Wed, 22 Jun 2022 15:25:22 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3338920.1655905757.1@sss.pgh.pa.us> Date: Wed, 22 Jun 2022 09:49:17 -0400 Message-ID: <3338921.1655905757@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Drouvot, Bertrand" writes: > Please find attached a patch proposal to make use of the SYSTEM_USER so > that it returns the authenticated identity (if any) (aka authn_id in the > Port struct). On what grounds do you argue that that's the appropriate meaning of SYSTEM_USER? regards, tom lane