Re: Update does not move row across foreign partitions in v11

2019-03-04 Thread Derek Hans
Based on a reply to reporting this as a bug, moving rows out of foreign partitions is not yet implemented so this is behaving as expected. There's a mention of this limitation in the Notes section of the Update docs. On Wed, Feb 27, 2019 at 6:12 PM Alvaro Herrera wrote: > On 2019-Feb-22, Derek H

Re: Update does not move row across foreign partitions in v11

2019-02-27 Thread Alvaro Herrera
On 2019-Feb-22, Derek Hans wrote: > I've set up 2 instances of PostgreSQL 11. On instance A, I created a table > with 2 local partitions and 2 partitions on instance B using foreign data > wrappers, following https://pgdash.io/blog/postgres-11-sharding.html. > Inserting rows into this table works

Re: Update does not move row across foreign partitions in v11

2019-02-27 Thread Derek Hans
Hi all, This behavior makes the new data sharding functionality in v11 only marginally useful as you can't shard across database instances. Considering data sharding appeared to be one of the key improvements in v11, I'm confused - am I misunderstanding the expected functionality? Thanks! On Fri,

Update does not move row across foreign partitions in v11

2019-02-22 Thread Derek Hans
I've set up 2 instances of PostgreSQL 11. On instance A, I created a table with 2 local partitions and 2 partitions on instance B using foreign data wrappers, following https://pgdash.io/blog/postgres-11-sharding.html. Inserting rows into this table works as expected, with rows ending up in the app