I'm trying to identify the heaviest queries in my DB. In the pg_stat_statements, I found a lot of Hibernate-generated queries like:
SELECT this_.ID as ID4_1_, this_.version as version4_1_ [...] where cat1_.name in ($1, $2, $3)
Why there are parameters like $1, $2... $n instead of actual values? Is it possible to log actual values using pg_stat_statements? $n parameters aren't very useful in this case.
I'm using PostgreSQL 9.0.2