code: func Tintervalsend(db XODB, v0 pgtypes.Tinterval) ([]byte, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT pg_catalog.tintervalsend($1)`
  
  	// run query
  	var ret []byte
  	XOLog(sqlstr, v0)
  	err = db.QueryRow(sqlstr, v0).Scan(&ret)
  	if err != nil {
  		return nil, err
  	}
  
  	return ret, nil
  }
docs: // Tintervalsend calls the stored procedure 'pg_catalog.tintervalsend(tinterval) bytea' on db.