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 1oYylk-0008Fg-QM for pgsql-general@arkaria.postgresql.org; Thu, 15 Sep 2022 23:59:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oYylj-0008Vn-DA for pgsql-general@arkaria.postgresql.org; Thu, 15 Sep 2022 23:59:43 +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 1oYylj-0008Vd-0K for pgsql-general@lists.postgresql.org; Thu, 15 Sep 2022 23:59:43 +0000 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oYylc-0006ka-E5 for pgsql-general@lists.postgresql.org; Thu, 15 Sep 2022 23:59:41 +0000 Received: by mail-qk1-x72d.google.com with SMTP id c19so12685106qkm.7 for ; Thu, 15 Sep 2022 16:59:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date; bh=z/upI9Uaw7QCJ4CqagBPqDW1DdrVjm5fVJqpHT9Mmto=; b=BvesDi0SKflCJp71EC0Vs4QNPucssknu99ieOUkH/a5mY0HRQUTCPz4IhJBjrOeZAy lRMYjIX7INgomCR5+lg1ymvcfLT1TiU3A9jFGji8xuInSK1hddEwBXM18hhTMUtg9G5e XP6SVltt3Lu1RkawhJAu78NuHSvosqmQ0XkwcPcE1q8Xla03PElgx3wVTwswT//19lJS Pt+aL1dhaCxFAw6ekFAHzoyyVDy7KIvP2uN87b62ZFCsW/M8iN/2VwvAG3idqUmc4AR3 McyDLiuWnqmP9vcvABOJihOxKK/FJ/lsguvtDwWOcJ7Fra8COIUyt84mSdck5bwrEKx/ aRYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date; bh=z/upI9Uaw7QCJ4CqagBPqDW1DdrVjm5fVJqpHT9Mmto=; b=iLWa0KZnwIhTgr1TDA72jwTVz4T9swHIUYP3p+65a0Z3RyyJBRgPBDIh/edofFS847 k4W9gSXoW5GETdPhXz2rzOHi5wmFMwz+4RX9G0D+FhhEmvtvHvgsjQnF87BmkULN3B7r XVCFZSoQxMNTEhxV3y/dx/feoKH+sRPLGqthAUsS9OCFSzdIj4am9LVdy/3AIMC1ixpy VNWYsCxqEpz9ulh+wtGqRDqT6ntP09FpDNvps04hpC4gfZs0BJQ6QplxS/UgEVRGx67R O0DqBzpe5GQkK+e8ISVrfD8+dHLDlZVb9E0VLX/cKdXucI6pHh4sO+lGsUqF7A3jTuPQ 5c3w== X-Gm-Message-State: ACrzQf1iTCX+Dp0d/7tNDPdIrqSgyvhU3N6zRJCgLUuxaYcD5Y0pEwYF kLV4eNvyxSzWVF6v8pTa1WM= X-Google-Smtp-Source: AMsMyM6CUgxwj+9sRaQaUha3G2GXKJAsVyjqFWJy2FmMuUEVFVLcsAs+7IeBUXYoKZab+crd/juH0Q== X-Received: by 2002:a05:620a:44c3:b0:6bb:6015:dcb2 with SMTP id y3-20020a05620a44c300b006bb6015dcb2mr2167582qkp.31.1663286374992; Thu, 15 Sep 2022 16:59:34 -0700 (PDT) Received: from [192.168.2.100] (pool-72-79-30-4.nwrknj.east.verizon.net. [72.79.30.4]) by smtp.gmail.com with ESMTPSA id ci5-20020a05622a260500b0033c36ef019esm4160748qtb.63.2022.09.15.16.59.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Sep 2022 16:59:33 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------xu6BhilHhuMvM6yn57Q7r74k" Message-ID: Date: Thu, 15 Sep 2022 19:59:32 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: Is it possible to stop sessions killing eachother when they all authorize as the same role? To: Tom Lane Cc: pgsql-general@lists.postgresql.org References: <10F360BB-3149-45E6-BFFE-10B9AE31F1A6@yugabyte.com> <2F078227-5EEF-4553-89FF-046A6AF12F25@yugabyte.com> <1883844.1663044542@sss.pgh.pa.us> <3092212.1663212466@sss.pgh.pa.us> Content-Language: en-US From: Mladen Gogala In-Reply-To: <3092212.1663212466@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------xu6BhilHhuMvM6yn57Q7r74k Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/14/22 23:27, Tom Lane wrote: > Looks to me like you made the same mistake as Bryn. You > revoked the permission in the postgres database: You are right. When I do it correctly, "revoke execute" works. Thanks for taking time to show me the errors of my wicked ways. Regards -- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com --------------xu6BhilHhuMvM6yn57Q7r74k Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
On 9/14/22 23:27, Tom Lane wrote:
Looks to me like you made the same mistake as Bryn.  You
revoked the permission in the postgres database:

You are right. When I do it correctly, "revoke execute" works. Thanks for taking time to show me the errors of my wicked ways.

Regards

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com
--------------xu6BhilHhuMvM6yn57Q7r74k--