WIP: use postgresql-simple in pgstructure