doc: Document that only superusers can use pg_import_system_collations().
authorFujii Masao <[email protected]>
Wed, 21 Jul 2021 04:52:37 +0000 (13:52 +0900)
committerFujii Masao <[email protected]>
Wed, 21 Jul 2021 04:56:04 +0000 (13:56 +0900)
Back-patch to v10 where pg_import_system_collations() was added.

Author: Atsushi Torikoshi
Reviewed-by: Fujii Masao
Discussion: https://postgr.es/m/b7f484692a3e283710032e68b7f40617@oss.nttdata.com

doc/src/sgml/func.sgml

index c51354d81df2be07491c829758c9a2ec506f7e40..6d55d0616b729e3c9edd927186a21722db208937 100644 (file)
@@ -20034,6 +20034,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
     be <literal>pg_catalog</literal>, but that is not a requirement;
     the collations could be installed into some other schema as well.
     The function returns the number of new collation objects it created.
+    Use of this function is restricted to superusers.
    </para>
 
   </sect2>