pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: ghiureai <isabella.ghiurea@nrc-cnrc.gc.ca>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: cfg pg_stat_statements in PG 9.5 error
Date: Thu, 09 Mar 2017 12:11:56 -0500
Message-ID: <23959.1489079516@sss.pgh.pa.us> (raw)
In-Reply-To: <58C182EF.3030405@nrc-cnrc.gc.ca>
References: <58C182EF.3030405@nrc-cnrc.gc.ca>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

ghiureai <isabella.ghiurea@nrc-cnrc.gc.ca> 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



view thread (6+ messages)  latest in thread

Message-ID: <23959.1489079516@sss.pgh.pa.us>
Permalink:  ../23959.1489079516@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23959.1489079516@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, isabella.ghiurea@nrc-cnrc.gc.ca
  Subject: Re: cfg pg_stat_statements in PG 9.5 error
  In-Reply-To: <23959.1489079516@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox