Re: DROP TYPE/DROP DOMAIN - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: DROP TYPE/DROP DOMAIN
Date
Msg-id Pine.LNX.4.56.0308041602050.915@krusty.credativ.de
Whole thread Raw
In response to Re: DROP TYPE/DROP DOMAIN  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: DROP TYPE/DROP DOMAIN
List pgsql-hackers
Tom Lane writes:

> "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> > I notice you can use the 'DROP TYPE' syntax to drop a domain.  Should that
> > be allowed?
>
> Why not?  A domain *is* a type, by any reasonable test.

According to that logic, a view is a table, but we still require DROP VIEW
to drop a view.

-- 
Peter Eisentraut   peter_e@gmx.net


pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: "truncate all"?
Next
From: Peter Eisentraut
Date:
Subject: Thread-safe configuration option appears to misfunction