Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm2EY-0008VA-Km for pgsql-admin@arkaria.postgresql.org; Thu, 09 Mar 2017 17:52:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cm2EY-0006vp-7G for pgsql-admin@arkaria.postgresql.org; Thu, 09 Mar 2017 17:52:14 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cm2EW-0006nP-Tr for pgsql-admin@postgresql.org; Thu, 09 Mar 2017 17:52:13 +0000 Received: from nrccenhts1.nrc.ca ([132.246.15.88]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cm2ET-0006x2-Du for pgsql-admin@postgresql.org; Thu, 09 Mar 2017 17:52:11 +0000 Received: from [132.246.194.15] (132.246.11.2) by nrccenhts1.nrc.ca (132.246.15.88) with Microsoft SMTP Server (TLS) id 8.3.348.2; Thu, 9 Mar 2017 12:52:04 -0500 Message-ID: <58C19590.1010905@nrc-cnrc.gc.ca> Date: Thu, 9 Mar 2017 09:49:04 -0800 From: ghiureai User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: "pgsql-admin@postgresql.org" CC: Tom Lane Subject: Re: cfg pg_stat_statements in PG 9.5 error References: <58C182EF.3030405@nrc-cnrc.gc.ca> <23959.1489079516@sss.pgh.pa.us> In-Reply-To: <23959.1489079516@sss.pgh.pa.us> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Tom, I am checking my cfg , I do not see a "plugins" subdirectory with pgsql95 contrib,at least I can not find one on my host , is there other pg conf parameter to change so can still point to initial location: ( I read most of the plugins must cfg as extensions now) /usr/pgsql-9.5/share/extension Thank you Isabella ghiureai writes: >> I have to cfg pg_stat_statements in Pg version 9.5.1: I create the >> extension inside db , next cfg: >> local_preload_libraries = >> '/usr/pgsql-9.5/share/extension/pg_stat_statements' >> when re-starting the PG server seeing this in errorlog : >> FATAL: access to library >> "/usr/pgsql-9.5/share/extension/pg_stat_statements" is not allowed >> I have root with full permission to the "/usr/pgsql-9.5/ and user >> postgres with exec only , what I am missing form this cfg? > Libraries to be loaded via local_preload_libraries must be in the plugins > subdirectory. See the manual's description of that parameter. > > regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin