code: func SpgKdChoose(db XODB, v0 pgtypes.Internal, v1 pgtypes.Internal) error {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT pg_catalog.spg_kd_choose($1, $2)`
  
  	// run query
  	XOLog(sqlstr)
  	_, err = db.Exec(sqlstr)
  	return err
  }
docs: // SpgKdChoose calls the stored procedure 'pg_catalog.spg_kd_choose(internal, internal) void' on db.