Re: [HACKERS] MERGE SQL Statement for PG11

Поиск
Список
Период
Сортировка
Искать
От
Simon Riggs
Тема
Re: [HACKERS] MERGE SQL Statement for PG11
Дата
Msg-id
CANP8+j+rO5jnDATve3gokRf6Jhfss5DquFxgz74rhJero8sAGQ@mail.gmail.com
Ответ на
Список
Дерево обсуждения
[HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] MERGE SQL Statement for PG11 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Chapman Flack <chap@anastigmatix.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Andreas Seltenreich <seltenreich@gmx.de>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Andreas Seltenreich <seltenreich@gmx.de>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Andreas Seltenreich <seltenreich@gmx.de>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Andreas Seltenreich <seltenreich@gmx.de>
Re: MERGE SQL Statement for PG11 André Brière <brierand@outlook.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] MERGE SQL Statement for PG11 Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
[HACKERS] Mapping MERGE onto CTEs (Re: MERGE SQL Statement for PG11) Nico Williams <nico@cryptonector.com>
Re: [HACKERS] Mapping MERGE onto CTEs (Re: MERGE SQL Statement forPG11) Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] Mapping MERGE onto CTEs (Re: MERGE SQL Statement for PG11) Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 srielau <serge@rielau.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Serge Rielau <serge@rielau.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Thomas Kellerer <spam_eater@gmx.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Geoff Winkless <pgsqladmin@geoff.dj>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Geoff Winkless <pgsqladmin@geoff.dj>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Szymon Lipiński <mabewlun@gmail.com>
On 29 January 2018 at 22:31, Peter Geoghegan  wrote:

> I don't think that there should be any error, so I can't say.

>> I argued that was possible and desirable, but you argued it was not
>> and got everybody else to agree with you. I'm surprised to see you
>> change your mind on that.
>
> You're mistaken. Nothing I've said here is inconsistent with my
> previous remarks on how we deal with concurrency.

Please see here

https://www.postgresql.org/message-id/20171102191636.GA27644%40marmot

On 2 November 2017 at 19:16, Peter Geoghegan  wrote:
> Simon Riggs  wrote:
>>
>> So if I understand you correctly, in your view MERGE should just fail
>> with an ERROR if it runs concurrently with other DML?
>
>
> That's certainly my opinion on the matter. It seems like that might be
> the consensus, too.


You've changed your position, which is good, thanks. No problem at all.

The proposal you make here had already been discussed in detail by
Pavan and myself. My understanding of that discussion was that he
thinks it might be possible, but I had said we must stick to the
earlier agreement on how to proceed. I am willing to try to produce
fewer concurrent errors, since that was an important point from
earlier work.

My only issue now is to make sure this does not cause confusion and
ask if that changes the views of others.



> According to your documentation, "MERGE provides a single SQL
> statement that can conditionally INSERT, UPDATE or DELETE rows, a task
> that would otherwise require multiple procedural language statements".
> But you're introducing a behavior/error that would not occur in
> equivalent procedural client code consisting of an UPDATE followed by
> a (conditionally executed) INSERT statement when run in READ COMMITTED
> mode. You actually get exactly the concurrency issue that you cite as
> unacceptable in justifying your serialization error with such
> procedural code (when the UPDATE didn't affect any rows, only
> following EPQ walking the UPDATE chain from the snapshot-visible
> tuple, making the client code decide to do an INSERT on the basis of
> information "from the future").

"You're introducing a behavior/error"... No, I advocate nothing in the
patch, I am merely following the agreement made here:

https://www.postgresql.org/message-id/CA%2BTgmoYOyX4nyu9mbMdYTLzT9X-1RptxaTKSQfbSdpVGXgeAJQ%40mail.gmail.com

Robert, Stephen, may we attempt to implement option 4 as Peter now suggests?

> 4. Implement MERGE, while attempting to avoid concurrent ERRORs in
> cases where that is possible.

I will discuss in more detail at the Brussels Dev meeting and see if
we can achieve consensus on how to proceed.



v14 posted with changes requested by multiple people. Patch status:
Needs Review.

Current summary: 0 wrong answers; 2 ERRORs raised need better
handling; some open requests for change/enhancement.

I will open a wiki page to track open items by the end of the week.

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

В списке pgsql-hackers по дате отправления
От: Amit Langote
Дата:
От: Amit Langote
Дата:
FAQ