Re: bug in 7.4 SET WITHOUT OIDs

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: bug in 7.4 SET WITHOUT OIDs
Дата
Msg-id 200403231257.38936.xzilla@users.sourceforge.net
обсуждение исходный текст
Ответ на Re: bug in 7.4 SET WITHOUT OIDs  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: bug in 7.4 SET WITHOUT OIDs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tuesday 23 March 2004 02:34, Christopher Kings-Lynne wrote:
> >>Maybe it needs CASCADE/RESTRICT added?
> >
> > Seems like overkill, considering that this is a very marginal feature.
> > I'm happy to decree that it works in whichever way is the easiest to
> > implement.
>
> In that case, it seems to me that it has to be default RESTRICT.  If
> anything depend on it, it must fail.  Otherwise when you do it, it could
> drop views, functions, everything.
>

FWIW current behavior when dropping a column is to restrict it if there is a 
view dependent on the column, however we automagically drop indexes on 
columns when dropping columns without even a notice.

Point being that in the original case, I think the index on the oid column 
should be dropped automagically, to follow similar behavior with normal 
columns. 

Robert Treat
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: bug in 7.4 SET WITHOUT OIDs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bug in 7.4 SET WITHOUT OIDs