Re: [HACKERS] query crashes backend - cvs

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: [HACKERS] query crashes backend - cvs
Дата
Msg-id 35FF4925.B7A024A2@alumni.caltech.edu
обсуждение исходный текст
Ответ на query crashes backend - cvs  (Oleg Bartunov <oleg@sai.msu.su>)
Ответы Re: [HACKERS] query crashes backend - cvs  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
> select * from work_flats where (METRO_ID = 81 or METRO_ID = 82) and
>  DISTRICT_ID < 11;
> crashes backend
> pqReadData() -- backend closed the channel unexpectedly.
> while
> select * from work_flats where METRO_ID = 81 or METRO_ID = 82 and
>  DISTRICT_ID < 11;
> works ok.
>
> This happens with latest cvs, 6.3.2 has no problem.

postgres=> select * from t where (METRO_ID = 81 or METRO_ID = 82) and
postgres->  DISTRICT_ID < 11;
metro_id|district_id
--------+-----------
      81|          1
      82|          2
(2 rows)

More details please...

                    - Tom

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

Предыдущее
От: "Taral"
Дата:
Сообщение: 'select @1' problem
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] Serial syntax