Re: DROP TYPE/DROP DOMAIN

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: DROP TYPE/DROP DOMAIN
Date: 2003-08-04 14:04:22
Message-ID: Pine.LNX.4.56.0308041602050.915@krusty.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane writes:

> "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-08-04 14:06:56 Re: DROP TYPE/DROP DOMAIN
Previous Message Tom Lane 2003-08-04 13:53:04 Re: Release changes