Re: OO Patch

Поиск
Список
Период
Сортировка
От Chris Bitmead
Тема Re: OO Patch
Дата
Msg-id 3929D768.DC3D35F3@nimrod.itg.telecom.com.au
обсуждение исходный текст
Ответ на Re: OO Patch  (Marten Feldtmann <marten@feki.toppoint.de>)
Список pgsql-hackers
Oliver Elphick wrote:

> These are not subclasses but totally unrelated.  Suppose you had
> 
>    parent (id char(2))
>    child1 (a int4)
>    child2 (a timestamp)
> 
> and someone asks for
> 
>    select sum(a) from parent*
> 
> since the types are incompatible, the answer would be nonsense.

That query would be disallowed, for the reason you note. Ambigous
coloumns would need to be specified by class.attribute.


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

Предыдущее
От: Chris Bitmead
Дата:
Сообщение: Re: Proposal for enhancements of privilege system
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] port v7.0 to SGI-IRIX-6.5.7/64