Re: ON COMMIT actions and inheritance
Amit Langote <langote_amit_f8@lab.ntt.co.jp>
From: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
To: Michael Paquier <michael@paquier.xyz>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>,
Michael Paquier <michael.paquier@gmail.com>
Date: 2018-11-08T09:08:43Z
Lists: pgsql-hackers
On 2018/11/08 18:03, Michael Paquier wrote: > On Thu, Nov 08, 2018 at 04:46:46PM +0900, Amit Langote wrote: >> How about: >> When used on tables with inheritance children (including partitioned >> tables), this also drops the children (partitions). > > Even if the style gets heavier, I have also the following in my box: > When used on a partitioned table, this action drops its partitions and > when used on tables with inheritance children, it drops the depending > children. I think we don't need to say "depending" children here, even though I know the dependency management system is involved internally. In the end, I will let you go with whatever you think is clearer. :) Thanks, Amit
Commits
-
Fix dependency handling of partitions and inheritance for ON COMMIT
- 52ea6a8209d6 10.7 landed
- 84b4a0cf6619 11.2 landed
- 319a8101804f 12.0 landed