doc: Document that only superusers can use pg_import_system_collations().
authorFujii Masao <fujii@postgresql.org>
Wed, 21 Jul 2021 04:52:37 +0000 (13:52 +0900)
committerFujii Masao <fujii@postgresql.org>
Wed, 21 Jul 2021 04:52:37 +0000 (13:52 +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 4c1a2d794cc332e52de0cab1d227698feda1c62a..e833be8f96b797be3e3b3de53d9dfefcdb5ca5e2 100644 (file)
@@ -26586,6 +26586,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></entry>
       </row>
      </tbody>