| От | Scott Dunbar |
|---|---|
| Тема | BUG #5898: Nested "in" clauses hide bad column names |
| Дата | |
| Msg-id | 201102221726.p1MHQPDh069580@wwwmaster.postgresql.org обсуждение исходный текст |
| Ответы |
Re: BUG #5898: Nested "in" clauses hide bad column names
|
| Список | pgsql-bugs |
The following bug has been logged online: Bug reference: 5898 Logged by: Scott Dunbar Email address: scott@xigole.com PostgreSQL version: 9.0.3 Operating system: Ubuntu 10.10 Description: Nested "in" clauses hide bad column names Details: I have a nested in clause like: select respondent_id from respondent where respondent_id in (select respondent_id from chat_session where project_id in (select project_id from project where company_id = 4)); However, in this example, there is no column named respondent_id in the chat_session table. But the query runs and, indeed, returns all of the rows in respondent. Since this was then part of another nested in it deleted far more that it was supposed to.
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера