fix for backends query
fix <IDLE> to idle for pgsql-9.2

thx @fabrik42
Merge branch 'fix-postgres-9.2' into drop-priviledges