| From: | Derek Hans <derek(dot)hans(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Update does not move row across foreign partitions in v11 |
| Date: | 2019-02-22 14:44:05 |
| Message-ID: | CAGrP7a3Xc1Qy_B2WJcgAD8uQTS_NDcJn06O5mtS_Ne1nYhBsyw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers |
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?
Thanks,
Derek
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2019-02-22 15:18:59 | Re: How many billion rows of data I can store in PostgreSQL RDS. |
| Previous Message | Leandro Guimarães | 2019-02-22 13:29:31 | Partition and Functions |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2019-02-22 14:45:42 | Re: Autovaccuum vs temp tables crash |
| Previous Message | Euler Taveira | 2019-02-22 14:37:08 | Re: psql show URL with help |