Re: error-free disabling of individual child partition

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Hannu Krosing <hannu(at)skype(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Csaba Nagy <nagy(at)ecircle-ag(dot)com>, Zeugswetter Andreas DCP SD <ZeugswetterA(at)spardat(dot)at>, Andrew Dunstan <andrew(at)dunslane(dot)net>, April Lorenzen <outboundindex(at)gmail(dot)com>, postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: error-free disabling of individual child partition
Date: 2006-05-24 13:16:03
Message-ID: 1148476563.7524.8.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2006-05-24 at 11:17 +0300, Hannu Krosing wrote:
> Ühel kenal päeval, T, 2006-05-23 kell 18:48, kirjutas Simon Riggs:
>
> >
> > 2. attislocal is always set False when an appropriate ADD INHERITS is
> > actioned. Not ever set back again.
>
> Why "never set back again" ? I'd guess that it should be set back to
> true when it is not an inherited column anymore, that is when its
> attinhcount reaches zero.

Because you have no record of whether it was created locally or
inherited when originally created. And: do you care? Why?

--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2006-05-24 13:28:26 Allow commenting of variables in postgresql.conf to restore them to defaults
Previous Message Hannu Krosing 2006-05-24 11:28:34 Re: Updatable views/with check option parsing