Re: DROP TYPE/DROP DOMAIN

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
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:06:56
Message-ID: 25243.1060006016@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2003-08-04 14:28:22 Re: "truncate all"?
Previous Message Peter Eisentraut 2003-08-04 14:04:22 Re: DROP TYPE/DROP DOMAIN