report convert to postgres