class PgConn::Connection

def fields(*query)

single-column records
that you will probably prefer to use #values instead when you expect only
is an error if the query returns records with more than one column. Note
Return an array of single-element hashes from column name to value. It
def fields(*query)
  r = pg_exec(parse_query *query)
  check_1c(r)
  r.each.to_a.map(&:to_h)
end