a high-value abstraction over psycopg2