working on the postgresql/jdbc version of the CategoryProvider