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


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to