code: func Setval(db XODB, v0 pgtypes.Regclass, v1 int64, v2 pgtypes.Regclass, v3 int64, v4 bool) (int64, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT pg_catalog.setval($1, $2, $3, $4, $5)`
  
  	// run query
  	var ret int64
  	XOLog(sqlstr, v0, v1, v2, v3, v4)
  	err = db.QueryRow(sqlstr, v0, v1, v2, v3, v4).Scan(&ret)
  	if err != nil {
  		return 0, err
  	}
  
  	return ret, nil
  }
docs: // Setval calls the stored procedure 'pg_catalog.setval(regclass, bigint, regclass, bigint, boolean) bigint' on db.