Re: [HACKERS] Packages: Again
От
Peter Geoghegan
Тема
Re: [HACKERS] Packages: Again
Дата
Msg-id
CAM3SWZTZOEOROvdPPQqoJF--Qmadueb95cbZbLRNAT+mYXqFjw@mail.gmail.com
Ответ на
Re: [HACKERS] Packages: Again (Serge Rielau)
Список
Дерево обсуждения
[HACKERS] Packages: Again "Joshua D. Drake" <jd@commandprompt.com>
Re: [HACKERS] Packages: Again Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] Packages: Again Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] Packages: Again Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] Packages: Again Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] Packages: Again Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Packages: Again Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] Packages: Again Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] Packages: Again Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] Packages: Again Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] Packages: Again Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] Packages: Again Gilles Darold <gilles.darold@dalibo.com>
Re: [HACKERS] Packages: Again "Joshua D. Drake" <jd@commandprompt.com>
Re: [HACKERS] Packages: Again Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Packages: Again Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] Packages: Again Craig Ringer <craig.ringer@2ndquadrant.com>
Re: [HACKERS] Packages: Again "Joshua D. Drake" <jd@commandprompt.com>
Re: [HACKERS] Packages: Again Craig Ringer <craig.ringer@2ndquadrant.com>
Re: [HACKERS] Packages: Again "Joshua D. Drake" <jd@commandprompt.com>
Re: [HACKERS] Packages: Again Pavel Stehule <pavel.stehule@gmail.com>
On Fri, Jan 13, 2017 at 3:44 PM, Serge Rielau wrote: > And sometimes the community DOES go its own way rather than implementing the standard. For example by rejecting the MERGE statement in favor of another syntax and semantic. That's total nonsense. MERGE isn't UPSERT, and isn't even in competition with UPSERT as a feature. I've written reams of text explaining why this is so in precise detail, with reference to the implementations of all other major systems [1][2]. The general consensus is that we might one day have both UPSERT and MERGE, just like Teradata. They really are that different that that would be perfectly reasonable. Any application that uses MERGE and assumes UPSERT-like guarantees should be assumed broken. We didn't diverge from the SQL standard on a whim. This was discussed, on and off, for over a year. [1] https://wiki.postgresql.org/wiki/UPSERT#MERGE_disadvantages [2] https://www.postgresql.org/message-id/CAM3SWZRP0c3g6+aJ=YYDGYAcTZg0xA8-1_FCVo5Xm7hrEL34kw@mail.gmail.com -- Peter Geoghegan
В списке pgsql-hackers по дате отправления
От: Tomas Vondra
Дата: