Re: Re: New relkind for views

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Hollomon <mhh(at)mindspring(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: New relkind for views
Date: 2000-10-17 00:56:17
Message-ID: 28224.971744177@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Mark Hollomon <mhh(at)mindspring(dot)com> writes:
>>>> I say let them drop it with either one.
>>
>> I kinda like the 'drop index with drop index', 'drop table with drop
>> table' and 'drop view with drop view' groupings ... at least you are
>> pretty sure you haven't 'oopsed' in the process :)

> So the vote is now tied. Any other opinions

I vote for the fascist approach (command must agree with actual type
of object). Seems safest. Please make sure the error message is
helpful though, like "Use DROP SEQUENCE to drop a sequence".

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-10-17 00:59:49 Re: The lightbulb just went on...
Previous Message The Hermit Hacker 2000-10-17 00:54:00 Re: The lightbulb just went on...

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2000-10-17 03:42:49 Re: Network Patch to specify IP Address to Bind to
Previous Message Mark Hollomon 2000-10-17 00:53:01 Re: Re: New relkind for views