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

From Tom Lane
Subject Re: DROP TYPE/DROP DOMAIN
Date
Msg-id 25243.1060006016@sss.pgh.pa.us
Whole thread Raw
In response to Re: DROP TYPE/DROP DOMAIN  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: DROP TYPE/DROP DOMAIN
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> 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.

No, a view is not a table.  Try putting an index or trigger on it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Thread-safe configuration option appears to misfunction
Next
From: Tom Lane
Date:
Subject: Re: Release changes