logging prepared queries' arguments?

From: Palle Girgensohn <girgen(at)pingpong(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: logging prepared queries' arguments?
Date: 2005-04-01 02:20:45
Message-ID: 61D4051ACA5A8C84CFFBDCE1@palle.girgensohn.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2005-04-01 02:33:32 Re: Help with converting hexadecimal to decimal
Previous Message Michael Fuhr 2005-04-01 02:18:56 Re: table permissions