Re: SET syntax in INSERT

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: SET syntax in INSERT
Дата
Msg-id 5697FBA1.8050709@joh.to
обсуждение исходный текст
Ответ на Re: SET syntax in INSERT  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2016-01-14 20:33, Tom Lane wrote:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
>>>> Probably there is less risk than 7 years ago, but still creating own
>>>> syntax isn't the best idea. This is syntactic sugar only and different
>>>> from ANSi SQL or common standard.
>
> It's more than syntactic sugar; you are going to have to invent semantics,
> as well, because it's less than clear what partial-field assignments
> should do.

I don't really care for such.  In my opinion it would be fine if this 
simply was only "syntactic sugar", and trying to do any tricks like this 
would simply raise an exception.


.m



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SET syntax in INSERT
Следующее
От: Vitaly Burovoy
Дата:
Сообщение: Re: SET syntax in INSERT