find sudstring on text (data type) field failure - Mailing list pgsql-sql

From pantelis vlachos
Subject find sudstring on text (data type) field failure
Date
Msg-id CAAYHi_cTqLi9iP_x6_5pV+Jd+wYD2Ak08bF--0oJGk0yqUSUaA@mail.gmail.com
Whole thread Raw
Responses Re: find sudstring on text (data type) field failure  (Craig Ringer <craig@2ndQuadrant.com>)
Re: find sudstring on text (data type) field failure  (Achilleas Mantzios <achill@smadev.internal.net>)
List pgsql-sql
I was trying to find a substring on a text (data type) column like 'cat foo dog ...'. <br />I use the query below<br
/>SELECTid FROM table WHERE name LIKE '% foo %';<br />Sometimes the query return with nTuples=0 but there are matching
rows.<br/> On retry, the query return with expected results. Any ideas;<br /><br />(postgres ver 9.2, libpq - C
Library)<br/> 

pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Date Index
Next
From: Craig Ringer
Date:
Subject: Re: find sudstring on text (data type) field failure