Re: Table Inheritance and dropped columns

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Caleb Welton <cwelton(at)greenplum(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Table Inheritance and dropped columns
Date: 2009-01-27 22:34:15
Message-ID: 2128.1233095655@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Caleb Welton <cwelton(at)greenplum(dot)com> writes:
> Two child tables, one created with inheritance, one altered to have
> inheritance:
> When you drop a column from the parent table only the tables CREATED with
> inheritance drop the column:

Yeah, this is intentional. The other table is presumed to still own its
columns even though it is (perhaps transiently) a child of the parent.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-01-27 22:52:54 Re: Hot Standby (v9d)
Previous Message Chad Sellers 2009-01-27 22:29:35 Re: 8.4 release planning