| От | Thomas G. Lockhart |
|---|---|
| Тема | Re: [HACKERS] latest snapshot crashes backend |
| Дата | |
| Msg-id | 36407442.5A25710F@alumni.caltech.edu обсуждение исходный текст |
| Ответ на | latest snapshot crashes backend ("Oliver Elphick" <olly@lfix.co.uk>) |
| Ответы |
Re: [HACKERS] latest snapshot crashes backend
|
| Список | pgsql-hackers |
> The attached commands crash the backend, which exits with status 11.
tgl=> select * from x where not (i is null or c is null);
i|c
-+-
1|T
2|A
0|T
(3 rows)
tgl=> select * from x where not (i is null and c is null);
pqReadData() -- backend closed the channel unexpectedly.
So, let's try rewriting it as a workaround:
tgl=> select * from x where (not i is null) or (not c is null);
pqReadData() -- backend closed the channel unexpectedly.
Oops. For some reason the NOT/AND is fatal, while NOT/OR is OK. That's
not so good. The good news is that it will certainly be repairable with
patches.
- Tom
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера