Re: ADD/DROP INHERITS - Mailing list pgsql-hackers

From Greg Stark
Subject Re: ADD/DROP INHERITS
Date
Msg-id 8764jcmrmp.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: ADD/DROP INHERITS  (Greg Stark <gsstark@mit.edu>)
Responses Re: ADD/DROP INHERITS  ("Andrew Dunstan" <andrew@dunslane.net>)
Re: ADD/DROP INHERITS  (Michael Glaesemann <grzm@seespotcode.net>)
List pgsql-hackers
Greg Stark <gsstark@MIT.EDU> writes:

> How does 
> 
> ALTER TABLE table INHERITS ADD parent
> ALTER TABLE table INHERITS DROP parent
> 
> sound?
> 
> I'll admit it doesn't read very well but it doesn't necessitate complicating
> other rules in gram.y

Or alternatively if people want to keep English-like SQL style grammar:

ALTER TABLE table INHERIT parent
ALTER TABLE table NO INHERIT parent



-- 
greg



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: ADD/DROP INHERITS
Next
From: "Andrew Dunstan"
Date:
Subject: Re: ADD/DROP INHERITS