Re: Doc necessity for superuser privileges to execute pg_import_system_collations()

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: torikoshia <torikoshia@oss.nttdata.com>, Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2021-07-19T04:30:59Z
Lists: pgsql-hackers

On 2021/07/19 11:45, torikoshia wrote:
> Hi.
> 
> It seems that only superusers can execute pg_import_system_collations(), but this is not mentioned in the manual.
> 
> Since other functions that require superuser privileges describe that in the manual, I think it would be better to do the same for consistency.
> 
> Thoughts?

LGTM.

IMO it's better to back-patch this to v10
where pg_import_system_collations() was added.

Regards,

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



Commits

  1. doc: Document that only superusers can use pg_import_system_collations().