Re: tracking inherited columns (was: patch for check constraints using multiple inheritance)

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: tracking inherited columns (was: patch for check constraints using multiple inheritance)
Дата
Msg-id 4C596371.1000204@dunslane.net
обсуждение исходный текст
Ответ на Re: tracking inherited columns (was: patch for check constraints using multiple inheritance)  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: tracking inherited columns (was: patch for check constraints using multiple inheritance)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

On 08/04/2010 06:41 AM, Robert Haas wrote:
> On Wed, Aug 4, 2010 at 6:41 AM, Yeb Havinga<yebhavinga@gmail.com>  wrote:
>>> If child inherits column A from parent1 and parent2, and it is then
>>> renamed to B in parent2, what should the name be in the child after
>>> the rename is completed?
>> The column should be renamed to B in parent2, child and parent1.
> Uh, really?  Wow.  You want to follow the inheritance hierarchy in
> both directions, both down and up?  That seems like it could be
> confusing.
>
>

It seems more than confusing. It seems fundamentally wrong. It would 
certainly be a violation of POLA.

Unless there's an extremely persuasive case made for it I'm inclined 
just to say no.

cheers

andrew


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: review: psql: edit function, show function commands patch
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Review of Synchronous Replication patches