How to display full query in logs

From: "Campbell, Lance" <lance(at)illinois(dot)edu>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: How to display full query in logs
Date: 2013-01-08 15:50:21
Message-ID: B75CD08C73BD3543B97E4EF3964B7D701F1080DD@CITESMBX1.ad.uillinois.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

PostgreSQL 9.2.2
Is there a configuration parameter in PostgreSQL that will allow a full query to be displayed in the log file?

What I see:
UPDATE abc.table set def=$1 WHERE id=$2

What I want to see:
UPDATE abc.table set def='hi bob' WHERE id=12

Thanks,

Lance Campbell
Software Architect
Web Services at Public Affairs
217-333-0382
[University of Illinois at Urbana-Champaign logo]<http://illinois.edu/>

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2013-01-08 16:29:01 Re: How to display full query in logs
Previous Message Lars Aksel Opsahl 2013-01-08 10:00:07 Re: Postgres base Backup fails to recover all logs fails from archive