Is query tracing on Postgresql possible? I am using 9.0 on windows with OLEDB interface.
Also, I need it to be in real-time, not buffered like it is by default...
I assume you mean tracing the statements on the server side?
In that case, change the parameter log_min_duration to 0 in postgresql.conf.
You don't need to restart the server, just reload the configuration (pg_ctl reload)