本田です。 log_min_error_statementは試されましたか? 該当バージョンのpostgresqlが手元にないのですが、7.4.11では STATEMENT: prepare ppp (int) as select * from project where id=$1; LOG: statement: execute ppp(1); STATEMENT: execute ppp(1); と「1」が残りました。 http://www.postgresql.jp/document/pg814doc/html/runtime-config-logging.htmlの下のほうに EXECUTE文に関する注意があります。