Re: [HACKERS] is it possible to use LIMIT and INTERSECT ?
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] is it possible to use LIMIT and INTERSECT ? |
| Дата | |
| Msg-id | 25071.940257475@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] is it possible to use LIMIT and INTERSECT ? (Oleg Bartunov <oleg@sai.msu.su>) |
| Ответы |
Re: [HACKERS] is it possible to use LIMIT and INTERSECT ?
|
| Список | pgsql-hackers |
Oleg Bartunov <oleg@sai.msu.su> writes:
> patch was applied smoothly to 6.5.2
> select a.msg_id, c.status_set_date, c.title
> from Message_Keyword_map a, messages c, keywords d
> where c.status_id =1 and d.name ~* 'moon' and a.key_id=d.key_id
> and c.msg_id=a.msg_id
> intersect
> select a.msg_id, a.status_set_date, a.title from messages a
> where a.status_id = 1 and a.title ~* 'moon' limit 5;
> produces (10 rows)
Hmm. It seemed to work as expected in current --- maybe there is
another bug still lurking in 6.5.*. I'll look when I get a chance.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера