Re: INSERT ... ON CONFLICT {UPDATE | IGNORE}
Peter Geoghegan <pg@heroku.com>
From: Peter Geoghegan <pg@heroku.com>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>, 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>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2014-12-30T05:12:50Z
Lists: pgsql-hackers
On Mon, Dec 29, 2014 at 2:29 PM, Jeff Janes <jeff.janes@gmail.com> wrote: > Using the vallock2 version of V1.8, using the test I previously described, I > get some all-null rows, which my code should never create. Also, the index > and table don't agree, in this example I find 3 all-null rows in the table, > but only 2 in the index. Just to be clear: You haven't found any such issue with approach #1 to value locking, right? I'm curious about how long it took you to see the issue with #2. Were there any special steps? What were the exact steps involved in turning off the hard crash mechanism you mention? It looks like the condition you describe ought to be highlighted by the script automatically. Is that right? (I don't know any Perl and the script isn't really documented at a high level). Thanks -- Peter Geoghegan
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