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



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 <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: <58C19590.1010905@nrc-cnrc.gc.ca>
Permalink:  ../58C19590.1010905@nrc-cnrc.gc.ca/
Also on:    postgresql.org/message-id/58C19590.1010905@nrc-cnrc.gc.ca

 · 

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: isabella.ghiurea@nrc-cnrc.gc.ca, tgl@sss.pgh.pa.us
  Subject: Re: cfg pg_stat_statements in PG 9.5 error
  In-Reply-To: <58C19590.1010905@nrc-cnrc.gc.ca>

* 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