change postgresql adapter