[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [GSoC] blends-gen-control hints (Was: blends-dev, gsoc 2013)



On Thu, Jul 11, 2013 at 02:47:19PM +0200, Andreas Tille wrote:
>     query = """PREPARE blend_check_existing_package_provides AS
>                  SELECT DISTINCT provides, p.distribution, component, r.sort FROM packages p
>                  JOIN releases r ON p.release = r.release
>                  WHERE provides ~ ('[ ,]*'||$1||'[ ,]*')
>                  ORDER BY r.sort DESC
>                  LIMIT 1"""

I think 

    provides ~ ('\b'||'freeb'||'\b');

is our friend.  Will check but it seems to work.

Kind regards

         Andreas. 

-- 
http://fam-tille.de


Reply to: