Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5JIC-0006Se-7A for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Jul 2021 02:46:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m5JIB-0003Gw-6t for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Jul 2021 02:46:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5JIA-0003Go-VE for pgsql-hackers@lists.postgresql.org; Mon, 19 Jul 2021 02:46:02 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5JI8-0005MV-Qo for pgsql-hackers@postgresql.org; Mon, 19 Jul 2021 02:46:02 +0000 Received: from oss.nttdata.com (localhost [127.0.0.1]) by oss.nttdata.com (Postfix) with ESMTPA id D2C2260299 for ; Mon, 19 Jul 2021 11:45:57 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.3 at oss.nttdata.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_102c841c8919bfec22de8384b1856f96" Content-Transfer-Encoding: 7bit Date: Mon, 19 Jul 2021 11:45:57 +0900 From: torikoshia To: Pgsql Hackers Subject: Doc necessity for superuser privileges to execute pg_import_system_collations() User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: torikoshia@oss.nttdata.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --=_102c841c8919bfec22de8384b1856f96 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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? -- Regards, -- Atsushi Torikoshi NTT DATA CORPORATION --=_102c841c8919bfec22de8384b1856f96 Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=v1-0001-doc-pg_import_system_collations-needs-superuser.patch Content-Disposition: attachment; filename=v1-0001-doc-pg_import_system_collations-needs-superuser.patch; size=579 ZGlmZiAtLWdpdCBhL2RvYy9zcmMvc2dtbC9mdW5jLnNnbWwgYi9kb2Mvc3JjL3NnbWwvZnVuYy5z Z21sCmluZGV4IGFjNjM0N2E5NzEuLjgxOWYyYzg5MTQgMTAwNjQ0Ci0tLSBhL2RvYy9zcmMvc2dt bC9mdW5jLnNnbWwKKysrIGIvZG9jL3NyYy9zZ21sL2Z1bmMuc2dtbApAQCAtMjY1NjMsNiArMjY1 NjMsNyBAQCBwb3N0Z3Jlcz0jIFNFTEVDVCAqIEZST00gcGdfd2FsZmlsZV9uYW1lX29mZnNldChw Z19zdG9wX2JhY2t1cCgpKTsKICAgICAgICAgYmUgPGxpdGVyYWw+cGdfY2F0YWxvZzwvbGl0ZXJh bD4sIGJ1dCB0aGF0IGlzIG5vdCBhIHJlcXVpcmVtZW50OyB0aGUKICAgICAgICAgY29sbGF0aW9u cyBjb3VsZCBiZSBpbnN0YWxsZWQgaW50byBzb21lIG90aGVyIHNjaGVtYSBhcyB3ZWxsLiAgVGhl CiAgICAgICAgIGZ1bmN0aW9uIHJldHVybnMgdGhlIG51bWJlciBvZiBuZXcgY29sbGF0aW9uIG9i amVjdHMgaXQgY3JlYXRlZC4KKyAgICAgICAgVGhpcyBmdW5jdGlvbiBpcyByZXN0cmljdGVkIHRv IHN1cGVydXNlcnMuCiAgICAgICAgPC9wYXJhPjwvZW50cnk+CiAgICAgICA8L3Jvdz4KICAgICAg PC90Ym9keT4K --=_102c841c8919bfec22de8384b1856f96--