Re: alter + preserving dependencies

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: alter + preserving dependencies
Дата
Msg-id 482096EC.3000805@dunslane.net
обсуждение исходный текст
Ответ на Re: alter + preserving dependencies  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: alter + preserving dependencies  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Josh Berkus wrote:
> Andrew Dunstan wrote:
>>
>> I have a client who is looking for a way to be able to alter objects 
>> without having to recreate (say, from a dump) all the objects in a 
>> possibly large dependency tree rooted at the object. Of course, if 
>> the alteration invalidates the dependency, than this operation should 
>> fail, but adding a column to a view or table (which is our most 
>> common case) should arguably be a benign operation that shouldn't 
>> fail because of dependencies.
>>
>> I couldn't see anything in the TODO list that seemed appropriate, in 
>> a quick scan.
>
> I don't follow you.  I can currently add a column, without breaking 
> either foriegn keys or inheritance.  What's the problem?
>
>

not for a view at least.

cheers

andrew


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: alter + preserving dependencies
Следующее
От: Tom Lane
Дата:
Сообщение: Re: alter + preserving dependencies