Re: INSERT ... ON CONFLICT {UPDATE | IGNORE}
Andres Freund <andres@2ndquadrant.com>
From: Andres Freund <andres@2ndquadrant.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: Kevin Grittner <kgrittn@ymail.com>, Peter Geoghegan <pg@heroku.com>,
Simon Riggs <simon@2ndquadrant.com>,
Heikki Linnakangas <hlinnakangas@vmware.com>,
Pg Hackers <pgsql-hackers@postgresql.org>,
Craig Ringer <craig@2ndquadrant.com>
Date: 2014-09-30T22:03:07Z
Lists: pgsql-hackers
On 2014-09-30 14:57:43 -0700, Josh Berkus wrote: > Regardless, I don't think there's any theoretical way to support UPSERT > without a unique constraint. You can do stuff like blocking predicate locking. But without indexes to support it that gets awfully complicated and unfunny. I don't think we want to go there. So essentially I agree with that statement. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
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