Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTM14-00018g-2H for pgsql-hackers@arkaria.postgresql.org; Wed, 22 May 2019 07:50:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hTM12-0005jr-QT for pgsql-hackers@arkaria.postgresql.org; Wed, 22 May 2019 07:50:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTM12-0005j4-CT for pgsql-hackers@lists.postgresql.org; Wed, 22 May 2019 07:50:24 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTM0z-0001CN-6s for pgsql-hackers@postgresql.org; Wed, 22 May 2019 07:50:24 +0000 Received: by mail-pf1-x444.google.com with SMTP id y11so866909pfm.13 for ; Wed, 22 May 2019 00:50:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=37dWJ4AsUScHgRkrNLHybqBocRMSdwPl4gkVA/TjvaI=; b=QKvassbt9zbkDlmVZl3kMxALVNpFeuka/lcb4v6UUwgeLX5iYYcXPzw3+8g7m6jYXs LXM81TW4GD8j9arFBxBtWavVwqrrV/HWbJ/QfnQLO4Yo5FRz6xZjyG3D0IcJYX36vRWm TtvAQ838gW8dLNSGzfwrmpk5V++cBY1F3nAPq7hpgx/tVcfciGHSw8dOfZhprePayNxz jA7NAlwDRUo7LQDTf9+xo0tBQix6sVLXEuCCZ35xpLALbTEZWU2uv5hMEaI0dIGntP0K tdjtzXYqjPG9Y27S4CjbAuFyAaEE+EqlfdhiZwfSsOXGVeimN5t/Q4z5vEH/+brTvJ2a PJTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=37dWJ4AsUScHgRkrNLHybqBocRMSdwPl4gkVA/TjvaI=; b=Xli4bJLWdqi8crO2pKq5jgQ+szNGh0PvQchl0cQ1nY18m/8rmlPR0DateOQ7qqImdp lGGrip4+p9n1X7M02rqf/rmok+xWFMmZ83UgWT+Vgky/ml1+mNPiuFMxDBu9sgv0H6Kc dnAdRuOhk4IFpbU1pLz8O0zbC1eS6iYuxSiOuPLP9T8QDAQNfgzjdWzL5HFSgnwuluHA eJvCaHM3uTe9LzCIuMCFpw8bF8SUHKkHwYZP6ALjIn3l2lfr4+GVQby6/qsp3Ycq1JWc V9zQjFE6CCA3idvWdvAl8cdrK9n2JVizNpunlc4SD3B4IGPx/aS34CRhFhRb9uj0mJC3 3qRA== X-Gm-Message-State: APjAAAUv/mLtzXiNg4cxCT+zzXj9ymGE1nBmBdSNH7CIanz8v3D8FqF2 hVzPUZG0kPr6VwM2i+8OCzEk/YKERXrrsTR7Z/aTbSEOvyg3YZKUPNl2gQAEUH4FkVsRs5/e+kU GXsNK5dbsc4H5hPjGnh2wovEQNMzjvDR568m0lZPdlIkB7t4Mhz8sRWTOtip4NHVFUOsFBtLZN+ XI0JEm4wisZm/a X-Google-Smtp-Source: APXvYqz6Eev7IM/Rq3rsVeAikvZTUV+C4NOxS1Js61NFlRRg2IaZKkeh+soueNtir2ChGqKZ3/hFdg== X-Received: by 2002:a65:6255:: with SMTP id q21mr77503780pgv.211.1558511418195; Wed, 22 May 2019 00:50:18 -0700 (PDT) Received: from osaka.octopusnet (p17191-ipngn6801marunouchi.tokyo.ocn.ne.jp. [153.174.48.191]) by smtp.gmail.com with ESMTPSA id o7sm34706520pfp.168.2019.05.22.00.50.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 May 2019 00:50:17 -0700 (PDT) Subject: Re: PG 12 draft release notes To: Michael Paquier Cc: Bruce Momjian , PostgreSQL-development References: <20190511203324.ktzqamguexyg3hx3@momjian.us> <20190522072651.GC1278@paquier.xyz> From: Ian Barwick Message-ID: <8100b384-be37-652f-0ef9-de9c7069417e@2ndquadrant.com> Date: Wed, 22 May 2019 16:50:14 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190522072651.GC1278@paquier.xyz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 5/22/19 4:26 PM, Michael Paquier wrote: > On Wed, May 22, 2019 at 09:19:53AM +0900, Ian Barwick wrote: >> the last two items are performance improvements not related to authentication; >> presumably the VACUUM item would be better off in the "Utility Commands" >> section and the TRUNCATE item in "General Performance"? > > I agree with removing them from authentication, but these are not > performance-related items. Instead I think that "Utility commands" is > a place where they can live better. > > I am wondering if we should insist on the DOS attacks on a server, as > non-authorized users are basically able to block any tables, and > authorization is only a part of it, one of the worst parts > actually... Anyway, I think that "This prevents unauthorized locking > delays." does not provide enough details. What about reusing the > first paragraph of the commits? Here is an idea: > "A caller of TRUNCATE/VACUUM/ANALYZE could previously queue for an > access exclusive lock on a relation it may not have permission to > truncate/vacuum/analyze, potentially interfering with users authorized > to work on it. This could prevent users from accessing some relations > they have access to, in some cases preventing authentication if a > critical catalog relation was blocked." Ah, if that's the intent behind/use for those changes (I haven't looked at them in any detail, was just scanning the release notes) then it certainly needs some explanation along those lines. Regards Ian Barwick -- Ian Barwick https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services