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 1jnUvZ-0001CG-Jb for pgsql-general@arkaria.postgresql.org; Mon, 22 Jun 2020 22:28:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jnUvY-0003tc-Bi for pgsql-general@arkaria.postgresql.org; Mon, 22 Jun 2020 22:28:32 +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 1jnUvY-0003tU-3S for pgsql-general@lists.postgresql.org; Mon, 22 Jun 2020 22:28:32 +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 1jnUvW-000463-1l for pgsql-general@lists.postgresql.org; Mon, 22 Jun 2020 22:28:31 +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 05MMSSB32094893; Mon, 22 Jun 2020 18:28:28 -0400 From: Tom Lane To: AC Gomez cc: "pgsql-generallists.postgresql.org" Subject: Re: Can the current session be notified and refreshed with a new credentials context? In-reply-to: References: <2094136.1592863717@sss.pgh.pa.us> Comments: In-reply-to AC Gomez message dated "Mon, 22 Jun 2020 18:25:09 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2094891.1592864908.1@sss.pgh.pa.us> Date: Mon, 22 Jun 2020 18:28:28 -0400 Message-ID: <2094892.1592864908@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk AC Gomez writes: > We do hold the original session open. The problem comes when we change the > password while that session is open, now the session and the User Mappings > are out of synch and we have failure. Well, there's no obvious reason for that to be a problem. As another respondent said, you need to describe what you're doing in far more detail if you want useful comments. regards, tom lane