prepared statements don't log arguments?

From: Palle Girgensohn <girgen(at)pingpong(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: prepared statements don't log arguments?
Date: 2005-04-06 13:01:56
Message-ID: 9E8F4F0D1EDB848D335FF16E@rambutan.pingpong.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2005-04-06 13:59:47 Re: Two phase commit
Previous Message Neil Conway 2005-04-06 10:51:05 Re: DELETE ... USING