Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggv6W-0000Oj-Sx for pgsql-docs@arkaria.postgresql.org; Tue, 08 Jan 2019 17:23:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ggv6U-0006JF-S2 for pgsql-docs@arkaria.postgresql.org; Tue, 08 Jan 2019 17:23:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggv6U-0006J8-Ag for pgsql-docs@lists.postgresql.org; Tue, 08 Jan 2019 17:23:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggv6N-0007Su-AK for pgsql-docs@lists.postgresql.org; Tue, 08 Jan 2019 17:23:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x08HNews024458; Tue, 8 Jan 2019 12:23:40 -0500 From: Tom Lane To: viacheslav.pumpur@gmail.com cc: pgsql-docs@lists.postgresql.org Subject: Re: Documentation sections does not match exactly In-reply-to: <154695611269.22750.3224630838168304588@wrigleys.postgresql.org> References: <154695611269.22750.3224630838168304588@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Doc_comments_form?= message dated "Tue, 08 Jan 2019 14:01:52 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24456.1546968220.1@sss.pgh.pa.us> Date: Tue, 08 Jan 2019 12:23:40 -0500 Message-ID: <24457.1546968220@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =?utf-8?q?PG_Doc_comments_form?= writes: > https://www.postgresql.org/docs/9.4/sql-createextension.html says: > "Loading an extension requires the same privileges that would be required to > create its component objects. For most extensions this means superuser or > database owner privileges are needed." > While https://www.postgresql.org/docs/9.4/contrib.html says: > "CREATE EXTENSION module_name; > This command must be run by a database superuser." > So contrib page exactly pointing that superuser is a mandatory requirement > while createextension page leaves space for free interpretation. I don't see anything wrong here. The CREATE EXTENSION page is giving the general rule. The page about contrib modules is saying you need to be superuser to install those particular extensions, which is true for the great majority of them (though maybe not every one, not sure). regards, tom lane