| От | Lew |
|---|---|
| Тема | Re: 8.2.4 serious slowdown |
| Дата | |
| Msg-id | epidnYENtJ0D2RfanZ2dnUVZ_vzinZ2d@comcast.com обсуждение |
| Ответ на | Re: 8.2.4 serious slowdown (Sim Zacks <sim@compulab.co.il>) |
| Список | pgsql-general |
(attribution restored) Clodoaldo wrote: > > I don't know if the plan would be the same but this is a bit clearer: > > > > WHERE COALESCE(b.quantity, 0) > COALESCE(b.deliveredsum, 0) Sim Zacks wrote: > That should be true, but sometimes we get deliveries of greater quantity > then we ordered. > I just want to know the times when I haven't gotten the complete order yet. > If we get more then we ordered, I don't want it to be in this query. Huh? How does that relate to the suggestion? The suggested expression is mathematically equivalent to and perfectly substitutable for the original. -- Lew
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера