Re: WHERE column = X AND column = Y will always be zero matching rows

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: WHERE column = X AND column = Y will always be zero matching rows
Дата
Msg-id CAKFQuwZb12ZQAio5wXE-FpF=0URHe8RWk5sa-SE7jZiBsypQJA@mail.gmail.com
обсуждение исходный текст
Ответ на WHERE column = X AND column = Y will always be zero matching rows  ("[Quipsy] Markus Karg" <karg@quipsy.de>)
Ответы AW: WHERE column = X AND column = Y will always be zero matching rows  ("[Quipsy] Markus Karg" <karg@quipsy.de>)
Список pgsql-bugs
On Thursday, August 3, 2023, [Quipsy] Markus Karg <karg@quipsy.de> wrote:

EXPLAIN SELECT column FROM Table WHERE column = X AND column = Y

 

…says that PostgreSQL actually wants to perform a Scan!

 

I wonder why squandering any resources into a Scan here


Mostly because no one wants to volunteer to write code to deal with poorly written queries, nor, more technically, expend compute resources looking for situations that should not happen.

David J.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Justin Tocci
Дата:
Сообщение: Re: BUG #18047: ODBC to PG long transaction causes PANIC
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: WHERE column = X AND column = Y will always be zero matching rows