citusdata / pg_shard

ATTENTION: pg_shard is superseded by Citus, its more powerful replacement
https://github.com/citusdata/citus
GNU Lesser General Public License v3.0
1.06k stars 63 forks source link

Support "UPSERT" #138

Open jasonmp85 opened 9 years ago

jasonmp85 commented 9 years ago

I'm sure some bugs could shake out of #137, but for now all the tests are passing and pg_shard appears usable under PostgreSQL 9.5alpha2. With this in mind, can we figure out how to get the new "UPSERT"-style feature of 9.5 working in pg_shard? Many uses of this feature will be idempotent (and commutable? Can we detect?) which is huge from a distributed systems standpoint.