Set postgresql adapter