Re: UPSERT wiki page, and SQL MERGE syntax
От | Robert Haas |
---|---|
Тема | Re: UPSERT wiki page, and SQL MERGE syntax |
Дата | |
Msg-id | CA+Tgmobx853LHaELU20Tss2jQUJz06rXrND8S5yOyD_keM5q+A@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: UPSERT wiki page, and SQL MERGE syntax (Peter Geoghegan <pg@heroku.com>) |
Ответы |
Re: UPSERT wiki page, and SQL MERGE syntax
|
Список | pgsql-hackers |
On Thu, Oct 16, 2014 at 2:01 PM, Peter Geoghegan <pg@heroku.com> wrote: > I want to retain CONFLICTING(), although I'm thinking about changing > the spelling to EXCLUDED(). While CONFLICTING() is more or less a new > and unprecedented style of expression, and in general that's something > to be skeptical of, I think it's appropriate because what we want here > isn't quite like any existing expression. Using an alias-like syntax > is misleading, since it implies that are no effects carried from the > firing of before row insert triggers. It's also trickier to implement > alias-like referencing. I think that the general consensus was against that style. I don't like it, and IIRC a few other people commented as well. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: