Support installation on postgresql > 9.2