Can save trial data to postgres