Re: Partition Check not updated when insert into a partition
Pavel Borisov <pashkin.elfe@gmail.com>
From: Pavel Borisov <pashkin.elfe@gmail.com>
To: Amit Langote <amitlangote09@gmail.com>
Cc: Nitin Jadhav <nitinjadhavpostgres@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-18T16:56:25Z
Lists: pgsql-hackers
> > Oops, you're right. I had failed to notice when reading the code that > the second transaction takes an AccessExclusiveLock on the target > partition. Reverted back to how this was in v3. > > > Also I'd recommend removing the link to a discussion from the test. > Anyway we have link in a commit message. > > -- Report: > https://postgr.es/m/OS3PR01MB5718DA1C4609A25186D1FBF194089%40OS3PR01MB5718.jpnprd01.prod.outlook.com > > Yeah, maybe the link is unnecessary in the test comment, so removed. > Though, I do occasionally see one of those in the test files (try `git > grep https src/test`). > Thanks! I don't see problems anymore. The patch is RFC now. -- Best regards, Pavel Borisov 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