| От | Tom Lane |
|---|---|
| Тема | Re: gin index postgres 9.2 |
| Дата | |
| Msg-id | 32122.1464221359@sss.pgh.pa.us обсуждение |
| Ответ на | Re: gin index postgres 9.2 ("David G. Johnston" <david.g.johnston@gmail.com>) |
| Ответы |
Re: gin index postgres 9.2
|
| Список | pgsql-general |
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Wed, May 25, 2016 at 7:42 PM, David G. Johnston <
> david.g.johnston@gmail.com> wrote:
>> What's the query with the revised parentheses?
> Never mind...your right I doubt that it should matter.
The parentheses in the original *definitely* matter, because by default
AND binds more tightly than OR. The larger number of rows in the second
query are perfectly plausible given the parenthesis-omission.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера