Re: [GENERAL] Logging/Viewing parameters of a prepared statement

2008-03-30 Thread Tom Lane
"Amit Phatarphekar" <[EMAIL PROTECTED]> writes: > I'm using Version-8.1.4 and JDBC-3 jar > ... > It would be nice if I can somehow know the value of $1 passed in. This is fixed in 8.2 and up. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgre

[GENERAL] Logging/Viewing parameters of a prepared statement

2008-03-30 Thread Amit Phatarphekar
I'm using Version-8.1.4 and JDBC-3 jar I call a db function from my java code, using a prepared statement. When I look at the logs of postgres in data/pg_log, the statement executed appears like for example "select * from get_user($1)" It would be nice if I can somehow know the value