BUG #1252: Optimization of SELECT for NOT NULL case

Поиск
Список
Период
Сортировка
Искать
От
PostgreSQL Bugs List
Тема
BUG #1252: Optimization of SELECT for NOT NULL case
Дата
Msg-id
20040913235707.DFCC25A1033@www.postgresql.com
Список
Дерево обсуждения
BUG #1252: Optimization of SELECT for NOT NULL case "PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>
Re: BUG #1252: Optimization of SELECT for NOT NULL case Bruno Wolff III <bruno@wolff.to>
Re: BUG #1252: Optimization of SELECT for NOT NULL case "Alexander Kirpa" <postgres@bilteks.com>
Re: BUG #1252: Optimization of SELECT for NOT NULL case Bruno Wolff III <bruno@wolff.to>
Re: BUG #1252: Optimization of SELECT for NOT NULL case Tom Lane <tgl@sss.pgh.pa.us>
The following bug has been logged online:

Bug reference:      1252
Logged by:          Alexander Kirpa

Email address:      postgres@bilteks.com

PostgreSQL version: 8.0 Beta

Operating system:   FreeBSD 5.2.1

Description:        Optimization of SELECT for NOT NULL case

Details: 

CREATE TABLE x (id int4 NOT NULL);
Populate table, for instance, 10M rows;
SELECT count(*) from x WHERE x IS NULL;
Optimizator should rewrite "x IS NULL" to simple "false"

Best regards,
 Alexander Kirpa
В списке pgsql-bugs по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: 8.0B2 psql \e
От: wisan watcharinporn
Дата:
Сообщение: table and column name
FAQ