Re: vacuumdb: permission denied for schema "pg_temp_7"

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: vacuumdb: permission denied for schema "pg_temp_7"
Дата
Msg-id 059dfcc2-81fd-4936-8d92-099490c0c713@oss.nttdata.com
обсуждение исходный текст
Ответ на Re: vacuumdb: permission denied for schema "pg_temp_7"  (Noah Misch <noah@leadboat.com>)
Список pgsql-bugs

On 2024/09/21 4:07, Noah Misch wrote:
> Non-superuser vacuumdb
> must be rare indeed for this to go unnoticed long enough to leave all
> supported branches affected.

Yes.
And more users might notice this in v17 or later, since v17 supports
the maintain privilege. Some users may want to use a role with
the maintain privilege to run vacuumdb. If they forget to grant USAGE
privilege on the temp table's schema to that role, they'll encounter
the same issue.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION




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