add support for PostgreSQL

Change-Id: Id6b6997b588e2647c33746bfc56e211c3352ecf3