Re: "select ..... for update of ..." doesn't support full qualified table name?
В списке pgsql-general по дате отправления:
| От | Vlad |
|---|---|
| Тема | Re: "select ..... for update of ..." doesn't support full qualified table name? |
| Дата | |
| Msg-id | cd70c68105090613571bc89b21@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: "select ..... for update of ..." doesn't support full qualified table name? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: "select ..... for update of ..." doesn't support full qualified table name?
|
| Список | pgsql-general |
Tom, yes, this part is not well documented - specially double checked before sendin email to the list. Though question is - doesn't it seem logical to be able to use full table names in FOR UPDATE part like I can use them in WHERE part (if I don't need/want to use an alias)? Is it something postgresql speciffic or it's SQL standard (pardon my ignorance)? > > yes, we actually use table alias as a workaround, I thought that it's > > actually looks like error in postgresql parser (or deeper) that needs > > to be reported. > > No, it's supposed to be that way: FOR UPDATE items are table aliases. > Perhaps this isn't adequately documented... -- Vlad
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера