| От | pgsql-bugs@postgresql.org |
|---|---|
| Тема | table aliases with updates |
| Дата | |
| Msg-id | 200008292302.e7TN2rw88796@hub.org обсуждение исходный текст |
| Ответы |
Re: table aliases with updates
|
| Список | pgsql-bugs |
andrew brown (andy75@hotmail.com) reports a bug with a severity of 3 The lower the number the more severe it is. Short Description table aliases with updates Long Description It appears that table aliases cannot be used in update queries for the table we are updating. Sample Code This doesn't work: update table1 t1 set value1 = (select value1 from table2 t2 where t2.value2 = t1.value2) But this does: update table1 set value1 = (select value1 from table2 t2 where t2.value2 = table1.value2) No file was uploaded with this report
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера