Re: pgsql: Fix dependency handling of column drop with partitioned tables

2019-10-14 Thread Michael Paquier
On Sun, Oct 13, 2019 at 04:29:10PM -0400, Tom Lane wrote: > Yeah, that sounds good to me. Thanks, I have just committed a fix doing that. -- Michael signature.asc Description: PGP signature

pgsql: Fix dependency handling of column drop with partitioned tables

2019-10-14 Thread Michael Paquier
Fix dependency handling of column drop with partitioned tables When dropping a column on a partitioned table which has one or more partitioned indexes, the operation was failing as dependencies with partitioned indexes using the column dropped were not getting removed in a way consistent with the

pgsql: Fix dependency handling of column drop with partitioned tables

2019-10-14 Thread Michael Paquier
Fix dependency handling of column drop with partitioned tables When dropping a column on a partitioned table which has one or more partitioned indexes, the operation was failing as dependencies with partitioned indexes using the column dropped were not getting removed in a way consistent with the

Re: pgsql: Fix dependency handling of column drop with partitioned tables

2019-10-13 Thread Tom Lane
Michael Paquier writes: > On Sun, Oct 13, 2019 at 08:54:19AM +, Michael Paquier wrote: >> Fix dependency handling of column drop with partitioned tables > rhinoceros is unhappy with this one in the sepgsql tests as this has > moved a cascading drop notice when droping a column: > ... > It see

Re: pgsql: Fix dependency handling of column drop with partitioned tables

2019-10-13 Thread Michael Paquier
On Sun, Oct 13, 2019 at 08:54:19AM +, Michael Paquier wrote: > Fix dependency handling of column drop with partitioned tables > > When dropping a column on a partitioned table which has one or more > partitioned indexes, the operation was failing as dependencies with > partitioned indexes usin