| От | pgsql-bugs@postgresql.org |
|---|---|
| Тема | Bug #910: query with inherits |
| Дата | |
| Msg-id | 20030315195128.5582A475F0D@postgresql.org обсуждение исходный текст |
| Список | pgsql-bugs |
Igor (programer_c@land.ru) reports a bug with a severity of 4
The lower the number the more severe it is.
Short Description
query with inherits
Long Description
In the next situation:
CREATE TABLE main (f1 int4 NOT NULL, PRIMARY KEY(f1));
CREATE TABLE derived (f2 int4) INHERIT (main);
CREATE TABLE other (f3 int4, f1 int1 NOT NULL);
expression
explain analyze SELECT * FROM main WHERE f1=1;
executed by index scan main and derived,
but expression
explain analyze SELECT * FROM main m, other o WHERE o.f3=1 AND o.f1=m.f1;
executed by seq scan main and derived. Why?
Best regard with Russia!
Sample Code
No file was uploaded with this report
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера