Add support for PostgreSQL database