Re: Partition Check not updated when insert into a partition
Pavel Borisov <pashkin.elfe@gmail.com>
From: Pavel Borisov <pashkin.elfe@gmail.com>
To: Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Cc: Amit Langote <amitlangote09@gmail.com>, "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>,
Alvaro Herrera <alvherre@alvh.no-ip.org>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-10-06T13:40:37Z
Lists: pgsql-hackers
Attachments
- v4-0001-Fix-ATTACH-DETACH-PARTITION-to-invalidate-partiti.patch (application/octet-stream) patch v4-0001
Hi, hackers! We've reviewed patch v3 and found it right. Completely agree that in case we attach/detach partition relcaches for all child relations (if they exist) need invalidation. Installcheck world succeeds after the patch. Tests from the patch fail as they should when run on the master branch. Found no problems. Overall patch is good and I'd recommend it to be committed. We've made v4 patch according to Nitin's advice and tested it, but still have no objections to patch v3. Each can be committed, equally good. Big thanks to you, Álvaro and Amit for working on this! -- Best regards, Pavel Borisov, Maxim Orlov Postgres Professional: http://postgrespro.com <http://www.postgrespro.com>
Commits
-
Invalidate partitions of table being attached/detached
- fe35528a5ed6 13.5 landed
- d6f1e16c8fe2 15.0 landed
- d36bdc4e9d3e 10.19 landed
- b703b7d312a7 11.14 landed
- 8b26be8a32c3 12.9 landed
- 72d064217257 14.1 landed