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

From Greg Stark
Subject Re: ADD/DROP INHERITS
Date
Msg-id 87zmgolcfa.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: ADD/DROP INHERITS  ("Andrew Dunstan" <andrew@dunslane.net>)
Responses Re: ADD/DROP INHERITS  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
"Andrew Dunstan" <andrew@dunslane.net> writes:

> Greg Stark said:
>
> > Or alternatively if people want to keep English-like SQL style grammar:
> >
> > ALTER TABLE table INHERIT parent
> > ALTER TABLE table NO INHERIT parent
>
> That could work ... or maybe UNINHERIT would read better than NO INHERIT.

DISINHERIT maybe?

While creating unreserved keywords isn't the end of the world it seems better
to stick to the vocabulary already there if possible. It makes it easier for
the user to remember how to spell commands. That's why I didn't suggest fixing
the DROP INHERITS ambiguity by inventing something like REMOVE INHERITS.

-- 
greg



pgsql-hackers by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: ADD/DROP INHERITS
Next
From: Josh Berkus
Date:
Subject: Re: ADD/DROP INHERITS