class PgConn::Connection

def check_1r(r)

def check_1r(r)
  if r.ntuples == 0
    raise Error, "No records returned"
  elsif r.ntuples > 1
    raise Error, "More than one record returned"
  end
end