Re: Some coverage for DROP OWNED BY with pg_default_acl

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Some coverage for DROP OWNED BY with pg_default_acl
Дата
Msg-id YAey+iwgqWFnYyMJ@paquier.xyz
обсуждение исходный текст
Ответ на Re: Some coverage for DROP OWNED BY with pg_default_acl  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
On Tue, Jan 19, 2021 at 05:49:03PM -0300, Alvaro Herrera wrote:
> Heh, interesting case.  Added coverage is good, so +1.

Thanks.  I read through it again and applied the test.

> Since the role regress_priv_user2 is "private" to the privileges.sql
> script, there's no danger of a concurrent test getting the added lines
> in trouble AFAICS.

It seems to me that it could lead to some trouble if a test running in
parallel expects a set of ACLs with no extra noise, as this stuff adds
data to the catalogs for all objects created while the default
permissions are visible.  Perhaps that's an over-defensive position,
but it does not hurt either to be careful similarly to the test run a
couple of lines above.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Stronger safeguard for archive recovery not to miss data
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Deleting older versions in unique indexes to avoid page splits