Re: [ADMIN] cfg pg_stat_statements in PG 9.5 error
| От | Tom Lane |
|---|---|
| Тема | Re: [ADMIN] cfg pg_stat_statements in PG 9.5 error |
| Дата | |
| Msg-id | 23959.1489079516@sss.pgh.pa.us обсуждение |
| Ответ на | [ADMIN] cfg pg_stat_statements in PG 9.5 error (ghiureai <isabella.ghiurea@nrc-cnrc.gc.ca>) |
| Ответы |
Re: [ADMIN] cfg pg_stat_statements in PG 9.5 error
|
| Список | pgsql-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
В списке pgsql-admin по дате отправления: