pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Keith Fiske <keith@omniti.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: Dropping columns with inheritance not working as documented
Date: Wed, 3 Jun 2015 00:52:16 -0300
Message-ID: <20150603035216.GK2988@postgresql.org> (raw)
In-Reply-To: <9545.1433298288@sss.pgh.pa.us>
References: <CAG1_KcAmEYNRxbU5vJL3pWkXAsmtgZONZpf7F7ikXscd--TRvg@mail.gmail.com>
	<7169.1433283490@sss.pgh.pa.us>
	<CAG1_KcCK-Qa+BVk+Fh0ou4+vfWJJ-ty1u-coHgvDRuwRt=_C2Q@mail.gmail.com>
	<9545.1433298288@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (6+ messages)

Message-ID: <20150603035216.GK2988@postgresql.org>
Permalink:  ../20150603035216.GK2988@postgresql.org/
Also on:    postgresql.org/message-id/20150603035216.GK2988@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, keith@omniti.com
  Subject: Re: Dropping columns with inheritance not working as documented
  In-Reply-To: <20150603035216.GK2988@postgresql.org>
  References: <CAG1_KcAmEYNRxbU5vJL3pWkXAsmtgZONZpf7F7ikXscd--TRvg@mail.gmail.com> <7169.1433283490@sss.pgh.pa.us> <CAG1_KcCK-Qa+BVk+Fh0ou4+vfWJJ-ty1u-coHgvDRuwRt=_C2Q@mail.gmail.com> <9545.1433298288@sss.pgh.pa.us> <20150603035216.GK2988@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox