| От | Richard Broersma Jr |
|---|---|
| Тема | Re: PostgesSQL equivalent of the Oracle 'contains' operator |
| Дата | |
| Msg-id | 686466.47178.qm@web31808.mail.mud.yahoo.com обсуждение исходный текст |
| Ответ на | PostgesSQL equivalent of the Oracle 'contains' operator ("Wm.A.Stafford" <stafford@marine.rutgers.edu>) |
| Список | pgsql-sql |
> I'm beginning a port of an Oracle application to PostgrSQL. One > immediate issue is the use of the Oracle 'contains' operator to do > whole word searches on table rows that contain blank separated lists of > names. I was told that the original application was written using the > 'like' operator but the contains operator was found to be much faster. > > Is there a PostgreSQL equivalent for this type of use of the Oracle > contains? The other methods are to use regular expressions, but I do not expect them to be any faster than a like. Have you looked at the contrib module tsearch2? http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/ Regards, Richard Broersma Jr.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера