Database access for D2. Currently, only PostgreSQL client.