Re: Extend ALTER DEFAULT PRIVILEGES for large objects

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Extend ALTER DEFAULT PRIVILEGES for large objects
Дата
Msg-id 3602391.1713930458@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Extend ALTER DEFAULT PRIVILEGES for large objects  (Yugo NAGATA <nagata@sraoss.co.jp>)
Ответы Re: Extend ALTER DEFAULT PRIVILEGES for large objects  (Yugo NAGATA <nagata@sraoss.co.jp>)
Re: Extend ALTER DEFAULT PRIVILEGES for large objects  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers
Yugo NAGATA <nagata@sraoss.co.jp> writes:
> Currently, ALTER DEFAULT PRIVILEGE doesn't support large objects,
> so if we want to allow users other than the owner to use the large
> object, we need to grant a privilege on it every time a large object
> is created. One of our clients feels that this is annoying, so I would
> like propose to extend  ALTER DEFAULT PRIVILEGE to large objects. 

I wonder how this plays with pg_dump, and in particular whether it
breaks the optimizations that a45c78e32 installed for large numbers
of large objects.  The added test cases seem to go out of their way
to leave no trace behind that the pg_dump/pg_upgrade tests might
encounter.

I think you broke psql's \ddp, too.  And some other places; grepping
for DEFACLOBJ_NAMESPACE finds other oversights.

On the whole I find this proposed feature pretty unexciting
and dubiously worthy of the implementation/maintenance effort.

            regards, tom lane



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Disallow changing slot's failover option in transaction block
Следующее
От: shveta malik
Дата:
Сообщение: Re: promotion related handling in pg_sync_replication_slots()