>On Monday, 4 January 2016 8:24 PM, Tom Lane wrote:
>Either way, however, the way you declared c2, it has an independent
>local definition of all four columns, and so they should not go away
>even if the parent's columns go away. This is exactly the purpose
>that attislocal was created to serve,
amul sul writes:
> In inheritance, child column's pg_attribute.attislocal flag not getting
> updated, if it is inherited using ALTER TABLE INHERIT .
I think this patch is wrong and you have broken the intended behavior.
It's a bit hard to tell though because your example is confused.
> CREATE
On Mon, Jan 4, 2016 at 9:28 AM, Rushabh Lathia wrote:
> On Mon, Jan 4, 2016 at 4:41 PM, amul sul wrote:
>> Hi,
>> In inheritance, child column's pg_attribute.attislocal flag not getting
>> updated, if it is inherited using ALTER TABLE INHERIT .
>>
>> Due to this, if we try to drop column(s) from
Hi,
On Mon, Jan 4, 2016 at 8:11 PM, amul sul wrote:
> Hi,
>
> In inheritance, child column's pg_attribute.attislocal flag not getting
> updated, if it is inherited using ALTER TABLE INHERIT .
>
> Due to this, if we try to drop column(s) from parent table, which are not
> getting drop from chil
On Mon, Jan 4, 2016 at 4:41 PM, amul sul wrote:
> Hi,
>
> In inheritance, child column's pg_attribute.attislocal flag not getting
> updated, if it is inherited using ALTER TABLE INHERIT .
>
> Due to this, if we try to drop column(s) from parent table, which are not
> getting drop from child.
> A
Hi,
In inheritance, child column's pg_attribute.attislocal flag not getting
updated, if it is inherited using ALTER TABLE INHERIT .
Due to this, if we try to drop column(s) from parent table, which are not
getting drop from child.
Attached herewith is quick patch fixing this issue.
-