Re: [HACKERS] MERGE SQL Statement for PG11
Simon Riggs <simon@2ndquadrant.com>
From: Simon Riggs <simon@2ndquadrant.com>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, Andrew Dunstan <andrew.dunstan@2ndquadrant.com>, Pavan Deolasee <pavan.deolasee@2ndquadrant.com>,
Robert Haas <robertmhaas@gmail.com>, Stephen Frost <sfrost@snowman.net>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-01-26T11:25:59Z
Lists: pgsql-hackers
Attachments
- merge.v12.patch (application/octet-stream) patch v12
On 24 January 2018 at 04:12, Simon Riggs <simon@2ndquadrant.com> wrote: > On 24 January 2018 at 01:35, Peter Geoghegan <pg@bowt.ie> wrote: >> > Please rebase, and post a new version. > > Will do, though I'm sure that's only minor since we rebased only a few days ago. New v12 with various minor corrections and rebased. Main new aspect here is greatly expanded isolation tests. Please read and suggest new tests. We've used those to uncover a few unhandled cases in the concurrency of very comple MERGE statements, so we will repost again on Mon/Tues with a new version covering all the new tests and any comments made here. Nothing to worry about, just some changed logic. I will post again later today with written details of the concurrency rules we're working to now. I've left most of the isolation test expected output as "TO BE DECIDED", so that we can agree our way forwards. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Add support for MERGE SQL command
- 7103ebb7aae8 15.0 landed
-
Add API of sorts for transition table handling in trigger.c
- 3a46a45f6f00 15.0 landed
-
Revert MERGE patch
- 08ea7a2291db 11.0 cited
-
Fix several bugs related to ON CONFLICT's EXCLUDED pseudo relation.
- ad2278379244 9.6.0 cited