class PgConn::Connection

def records(*query)

Return an array of hashes from column name to field value
def records(*query)
  r = pg_exec(parse_query *query)
  r.each.to_a.map(&:to_h)
end