Re: Dropping columns with inheritance not working as documented - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: Dropping columns with inheritance not working as documented
Date
Msg-id 20150603035216.GK2988@postgresql.org
Whole thread Raw
In response to Re: Dropping columns with inheritance not working as documented  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane wrote:

> > Any chance on some documentation clarity? Or honestly, some further
> > justification for why it needs to stay like this?
>
> The killer argument, as I recall, was that we should take pains not
> to irretrievably drop data if there was any doubt as to whether it
> was still wanted.  But even if you didn't believe that, there's now
> a dozen years worth of backwards compatibility to worry about --- it's
> been like this since 2002 or so.

Wow, it's been a long time ...

commit c328b6dd8bd85d91a0fd465c30b0bb352ea51e2b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date:   Sun Sep 22 19:42:52 2002 +0000

    Replace pg_attribute.attisinherited with attislocal and attinhcount
    columns, to allow more correct behavior in multiple-inheritance cases.
    Patch by Alvaro Herrera, review by Tom Lane.


--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

pgsql-bugs by date:

Previous
From: Keith Fiske
Date:
Subject: Re: Dropping columns with inheritance not working as documented
Next
From: Michael Paquier
Date:
Subject: Re: Incorrect processing of CREATE TRANSFORM with DDL deparding