Re: How to log query parameters instead of variables with log_min_duration_statement - Mailing list pgsql-general

From Tom Lane
Subject Re: How to log query parameters instead of variables with log_min_duration_statement
Date
Msg-id 27097.1277735296@sss.pgh.pa.us
Whole thread Raw
In response to How to log query parameters instead of variables with log_min_duration_statement  (Max Williams <Max.Williams@mflow.com>)
Responses Re: How to log query parameters instead of variables with log_min_duration_statement  (Max Williams <Max.Williams@mflow.com>)
List pgsql-general
Max Williams <Max.Williams@mflow.com> writes:
> I am logging long queries with log_min_duration_statement but would like to see the parameters for parameterized
queries.Eg... 

You need a more recent version of Postgres.  The versions that can do
that at all (8.2 and up) will do it automatically.

            regards, tom lane

pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Looking for a PostGre SQL Trainer, Bangalore
Next
From: "Neubert Joachim"
Date:
Subject: convert accented character to base character