s/srs/srid/
move all psql interaction to table_t object. next step is to remove passing around references to string buffers and a few other clean up items