Re: error-free disabling of individual child partition - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: error-free disabling of individual child partition
Date
Msg-id 1148398018.2646.849.camel@localhost.localdomain
Whole thread Raw
In response to Re: error-free disabling of individual child partition  (Hannu Krosing <hannu@skype.net>)
List pgsql-hackers
On Tue, 2006-05-23 at 18:19 +0300, Hannu Krosing wrote:
> For me "DROP INHERITS oldtable" sounds better than "INHERITS DROP
> oldtable" , but it may be just me :)

Agreed, so proposal is now

ALTER TABLE childN DROP INHERITS old_parent;
ALTER TABLE childN ADD INHERITS new_parent;

Going once; going twice...

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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [ADMIN] does wal archiving block the current client
Next
From: Tom Lane
Date:
Subject: Re: error-free disabling of individual child partition