prepared statements don't log arguments?

From: Palle Girgensohn
Subject: prepared statements don't log arguments?
Date: ,
Msg-id: 9E8F4F0D1EDB848D335FF16E@rambutan.pingpong.net
(view: Whole thread, Raw)
Responses: Re: prepared statements don't log arguments?  (Greg Stark)
Re: prepared statements don't log arguments?  (Simon Riggs)
List: pgsql-hackers

Tree view

prepared statements don't log arguments?  (Palle Girgensohn, )
 Re: prepared statements don't log arguments?  (Greg Stark, )
  Re: prepared statements don't log arguments?  (Christopher Kings-Lynne, )
   Re: prepared statements don't log arguments?  (Neil Conway, )
    Re: prepared statements don't log arguments?  (Abhijit Menon-Sen, )
    Re: prepared statements don't log arguments?  (Alvaro Herrera, )
    Re: prepared statements don't log arguments?  (Oliver Jowett, )
     Re: prepared statements don't log arguments?  (Neil Conway, )
     Re: prepared statements don't log arguments?  (Tom Lane, )
  Re: prepared statements don't log arguments?  (Oliver Jowett, )
   Re: prepared statements don't log arguments?  (Palle Girgensohn, )
 Re: prepared statements don't log arguments?  (Simon Riggs, )
  Re: prepared statements don't log arguments?  (Palle Girgensohn, )
   Re: prepared statements don't log arguments?  (Simon Riggs, )
    Re: prepared statements don't log arguments?  (Oliver Jowett, )
     Re: prepared statements don't log arguments?  (Tom Lane, )
      Re: prepared statements don't log arguments?  (Simon Riggs, )
       Re: prepared statements don't log arguments?  (Oliver Jowett, )
        Re: prepared statements don't log arguments?  (Simon Riggs, )
         Re: prepared statements don't log arguments?  (Oliver Jowett, )

Hi!

When setting log_statement = all, and using JDBC PreparedStatements, I get 
$n in the log where the real arguments used to be in previous versions of 
postgresql:

postgres[30059]: [97-1] LOG:  statement: INSERT INTO group_data 
(this_group_id, item_text, link_path) VALUES ($1, $2, $3)


I really need to know the *real* arguments... How can I get them? Is it a 
bug?

/Palle




pgsql-hackers by date:

From: "Dave Page"
Date:
Subject: Re: 8.0.2 beta announcement??
From: Tom Lane
Date:
Subject: Recognizing range constraints (was Re: [PERFORM] Plan for relatively simple query seems to be very inefficient)