| От | Tom Lane |
|---|---|
| Тема | Re: Something I'd like to try... |
| Дата | |
| Msg-id | 16699.970547357@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Something I'd like to try... (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Список | pgsql-sql |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Can someone comment on this?
>>
>> I just noticed that postgres doesn't totally support
>> column aliases on UPDATE statements, for example
The SQL92 spec very clearly does not allow an alias on the target table:
13.10 <update statement: searched>
<update statement: searched> ::= UPDATE <table name> SET <set clause list>
[ WHERE <search condition> ]
While I'm willing to consider variations from the spec that add
significant functionality, this proposed addition adds no functionality
worth noticing. It'd just be another way to trip yourself up when
moving across DBMSes.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера