From: Ian Barwick <ian.barwick@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: PG 12 draft release notes
Date: Wed, 22 May 2019 16:50:14 +0900
Message-ID: <8100b384-be37-652f-0ef9-de9c7069417e@2ndquadrant.com> (raw)
In-Reply-To: <20190522072651.GC1278@paquier.xyz>
References: <20190511203324.ktzqamguexyg3hx3@momjian.us>
<e1f11200-6da7-6d87-e2b7-367e2160dccd@2ndquadrant.com>
<20190522072651.GC1278@paquier.xyz>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: ian.barwick@2ndquadrant.com, michael@paquier.xyz, bruce@momjian.us
Subject: Re: PG 12 draft release notes
In-Reply-To: <8100b384-be37-652f-0ef9-de9c7069417e@2ndquadrant.com>
References: <20190511203324.ktzqamguexyg3hx3@momjian.us> <e1f11200-6da7-6d87-e2b7-367e2160dccd@2ndquadrant.com> <20190522072651.GC1278@paquier.xyz> <8100b384-be37-652f-0ef9-de9c7069417e@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox