pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: otheus uibk <otheus.uibk@gmail.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: << unrecognized configuration parameter "pg_stat_statements.track" >>
Date: Wed, 27 Jan 2016 14:07:45 +0100
Message-ID: <20160127130745.GB17919@awork2.anarazel.de> (raw)
In-Reply-To: <CALbQNd21FZY+Z+HrZNv+GeqCNA-1Exwv9j+21HvwEDDnX2mZNw@mail.gmail.com>
References: <CALbQNd21FZY+Z+HrZNv+GeqCNA-1Exwv9j+21HvwEDDnX2mZNw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hi,

On 2016-01-27 14:03:37 +0100, otheus uibk wrote:
> Works correctly in 9.2.10 but not in 9.1.8. Is this a known bug for 9.1.8
> that has an upstream fix? There is nothing in the 9.1.x release notes
> indicating such.
> 
> shared_preload_libraries='pg_stat_statements'
> track_activity_query_size=2048
> pg_stat_statements.track = all
> 
> 
> The above configuration in 9.1.8 fails with "unrecognized configuration
> parameter "pg_stat_statements.track""
> When the "track" option is removed, startup is normal. When added back and
> reload issued, again the complaint.
> 
> The shared library does indeed have the option string:

As documented in 9.1's manual, back then you still needed to configure
http://www.postgresql.org/docs/9.1/static/pgstatstatements.html :
# postgresql.conf
shared_preload_libraries = 'pg_stat_statements'
custom_variable_classes = 'pg_stat_statements'
pg_stat_statements.max = 10000
pg_stat_statements.track = all

Regards,

Andres


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)  latest in thread

Message-ID: <20160127130745.GB17919@awork2.anarazel.de>
Permalink:  ../20160127130745.GB17919@awork2.anarazel.de/
Also on:    postgresql.org/message-id/20160127130745.GB17919@awork2.anarazel.de

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andres@anarazel.de, otheus.uibk@gmail.com
  Subject: Re: << unrecognized configuration parameter "pg_stat_statements.track" >>
  In-Reply-To: <20160127130745.GB17919@awork2.anarazel.de>
  References: <CALbQNd21FZY+Z+HrZNv+GeqCNA-1Exwv9j+21HvwEDDnX2mZNw@mail.gmail.com> <20160127130745.GB17919@awork2.anarazel.de>

* 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