title: PostgreSQL JDBC driver hide prepared statement parameters from logging
body: <p>I need to hide prepared statement parameters from logging debug level and exception message. There are security critical values. For example using <code>pgp_sym_encrypt</code>, when exception thrown from database, in exception message shown full statement with parameters also 2nd parameter encryption key password. 
  Is there any way to hide these kind of values, especially in exception message?</p>