support raring (postgres9.1)