| От | pgsql-bugs@postgresql.org |
|---|---|
| Тема | Bug #503: case and LIMIT not working together |
| Дата | |
| Msg-id | 200110301900.f9UJ0FT09155@postgresql.org обсуждение |
| Ответы |
Re: Bug #503: case and LIMIT not working together
Re: Bug #503: case and LIMIT not working together |
| Список | pgsql-bugs |
Carl Anderson (candrsn@mindspring.com) reports a bug with a severity of 2 The lower the number the more severe it is. Short Description case and LIMIT not working together Long Description PostreSQL 7/1/3 i686-pc-linux-gnu compiled by GCC 3.0 when I count ( case ... ) LIMIT The count is from the entire table not from the LIMIT in the below example the count is returned with the same value in all three statements Sample Code select count( case when b='T' then 1 else null) from test limit 50; select count( case when b='T' then 1 else null) from test; select count(*) from test where b = 'T'; No file was uploaded with this report
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера