[Postgresql tests] remove duplicate helper

cc @senny @rafaelfranca.