Re: Re: New relkind for views

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: New relkind for views
Дата
Msg-id 28224.971744177@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: New relkind for views  (Mark Hollomon <mhh@mindspring.com>)
Ответы Re: Re: New relkind for views  (Mark Hollomon <mhh@mindspring.com>)
Список pgsql-hackers
Mark Hollomon <mhh@mindspring.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: The lightbulb just went on...
Следующее
От: Philip Warner
Дата:
Сообщение: Re: AW: Backup, restore & pg_dump