[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: Update does not move row across foreign partitions in v11
From:       Alvaro Herrera <alvherre () 2ndquadrant ! com>
Date:       2019-02-27 19:31:14
Message-ID: 20190227193114.GA19279 () alvherre ! pgsql
[Download RAW message or body]

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 as expected, with rows ending up in
> the appropriate partition. However, updating those rows only moves them
> across partitions in some of the situations:
> 
>    - From local partition to local partition
>    - From local partition to foreign partition
> 
> Rows are not moved
> 
>    - From foreign partition to local partition
>    - From foreign partition to foreign partition
> 
> Is this the expected behavior? Am I missing something or configured
> something incorrectly?

Sounds like a bug to me.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic