Thread: logging prepared queries' arguments?

logging prepared queries' arguments?

From
Palle Girgensohn
Date:
Hi!

When setting log_statement = all, and using JDBC PreparedStatements, I get
$n where 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 arguments... How can I get them? Is it a bug?

/Palle