Re: OO Patch

From: Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: Postgres Hackers List <hackers(at)postgresql(dot)org>
Subject: Re: OO Patch
Date: 2000-05-23 00:57:12
Message-ID: 3929D768.DC3D35F3@nimrod.itg.telecom.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-05-23 00:58:57 Re: [PORTS] Re: port v7.0 to SGI-IRIX-6.5.7/64
Previous Message Chris Bitmead 2000-05-23 00:49:06 Re: Proposal for enhancements of privilege system