Re: INSERT ... ON CONFLICT {UPDATE | IGNORE}
Gavin Flower <gavinflower@archidevsys.co.nz>
From: Gavin Flower <GavinFlower@archidevsys.co.nz>
To: Peter Geoghegan <pg@heroku.com>, Jeff Janes <jeff.janes@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Robert Haas <robertmhaas@gmail.com>, Josh Berkus <josh@agliodbs.com>, Craig Ringer <craig@2ndquadrant.com>, Anssi Kääriäinen <anssi.kaariainen@thl.fi>, Simon Riggs <simon@2ndquadrant.com>, Bruce Momjian <bruce@momjian.us>, Kevin Grittner <kgrittn@ymail.com>, Andres Freund <andres@2ndquadrant.com>, Heikki Linnakangas <hlinnakangas@vmware.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2014-12-16T22:03:42Z
Lists: pgsql-hackers
On 17/12/14 10:11, Peter Geoghegan wrote: > On Tue, Dec 16, 2014 at 11:08 AM, Jeff Janes <jeff.janes@gmail.com> wrote: >> Your new version 1.7 of the patches fixes that issue, as well as the OID >> conflict. > Good. > > You're probably aware that I maintain a stress testing suite for the > patch here: https://github.com/petergeoghegan/upsert > > In the past, you've had a lot of success with coming up with stress > tests that find bugs. Maybe you can come up with some improvements to > the suite, if you'd care to test the patch. I can authorize your > Github account to push code to that repo, if you're interested. Yeah! I have just released a prototype software (not related to pg): I'm going to tell them to treat it with extreme suspicion, no matter how much they may respect the developer (me)! Though like Pg, it is critical that it records data with reliability. Also, both need testing to try and detect intermittent errors (I already found one myself in the prototype - fortunately, not so critical it needs to be fixed in the prototype, but would have to be eliminated from the production version!). So I think it really great to encourage people to come up with demanding tests, especially automated stress testing for pg. Cheers, Gavin (Who wishes he had the time & experience to contribute to pg.)
Commits
-
Change the way we mark tuples as frozen.
- 37484ad2aace 9.4.0 cited
-
Add documentation for data-modifying statements in WITH clauses.
- 0ef0b3020402 9.1.0 cited