How to use read uncommitted transaction level and set update order
В списке pgsql-general по дате отправления:
| От | Andrus |
|---|---|
| Тема | How to use read uncommitted transaction level and set update order |
| Дата | |
| Msg-id | A6988EAE75CF4740B1B875BA624D31FA@andrusnotebook обсуждение исходный текст |
| Ответы |
Re: How to use read uncommitted transaction level and set
update order
Re: How to use read uncommitted transaction level and set update order |
| Список | pgsql-general |
How to use column values set in update in subsequent set clauses and in subqueries in subsequent row updates? I tried set transaction isolation level read uncommitted; create temp table test1 ( a int, b int) on commit drop; insert into test1 values(1,2); update test1 set a=4, b=a ; select * from test1 b value is 1 but must be 4. How to use updated value ? For update order I tried set transaction isolation level read uncommitted; create temp table test1 ( a int, b int, c int) on commit drop; insert into test1 values(1,2,3); update test1 set a=4, b=a order by c ; select * from test1 but got syntax error at order by. How to specify update order ? Andrus.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера