Add support for Postgres 9.2

Add postgres server version checking for given permission and use proper `BACKENDS` query for this version.
Fixes issue #1