Re: How to log query parameters instead of variables with log_min_duration_statement

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Max Williams <Max(dot)Williams(at)mflow(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to log query parameters instead of variables with log_min_duration_statement
Date: 2010-06-28 16:43:06
Message-ID: 29476.1277743386@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Max Williams <Max(dot)Williams(at)mflow(dot)com> writes:
> I'm running 8.4.4 so you are saying this should work?

Works for me, just as described here:
http://archives.postgresql.org/pgsql-committers/2006-09/msg00152.php

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Björn Lindqvist 2010-06-28 17:08:37 Is full-row updates slower than single-value updates
Previous Message Konstantin Izmailov 2010-06-28 16:11:53 Re: PQprepare in PostgreSQL 7.4 (lack of SAVEPOINTs)