Re: can't get pg_stat_statements to work

From: richard(at)xentu(dot)com
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: can't get pg_stat_statements to work
Date: 2015-09-19 16:29:58
Message-ID: da16087e665fb0c0545b99633894e5ed@xentu.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Tom>The most likely bet is that the postmaster is failing to look in the
directory where the pg_stat_statements.so shared library is

The so file is here:
/usr/lib/postgresql/8.4/lib/pg_stat_statements.so
along with a whole load of other .so files

Nevertheless, I've tried specifying the full path to that file in
postgresql.conf:

shared_preload_libraries =
'/usr/lib/postgresql/8.4/lib/pg_stat_statements.so'

but server still won't start.

Tom> What's the exact error message recorded in the postmaster log file?

Is that the file that gets generated in
/var/lib/postgresql/8.4/main/pg_log?

I'm starting the server via the command
# /etc/init.d/postgresql start

At the terminal I get the message:

* Starting PostgreSQL 8.4 database server
* The PostgreSQL server failed to start. Please check the log output.

but no file get generated in /var/lib/postgresql/8.4/main/pg_log

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message David G. Johnston 2015-09-19 16:55:01 Re: can't get pg_stat_statements to work
Previous Message Tom Lane 2015-09-19 14:37:38 Re: can't get pg_stat_statements to work