Added support for RPostgreSQL.