Re: OO Patch

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Chris <chris(at)bitmead(dot)com>, Postgres Hackers List <hackers(at)postgresql(dot)org>
Subject: Re: OO Patch
Date: 2000-05-19 06:33:35
Message-ID: 3924E03F.43AA58A3@tm.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Tom Lane wrote:
>
> Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au> writes:
> > 3) Returning of sub-class fields. Any ODBMS *must* do this by
> > definition. If it doesn't, it isn't an ODBMS.
>
> Chris, you have a bad habit of defining away the problem. Not
> everyone is convinced upon this point, and your assertions that
> there was consensus don't help your cause.

I am convinced ;).

There should be no consensus that "there should be no way to
retrieve sub-fields" ;)

I agree that the default may well be to retrieve only fuelds of
base class.

>
> Possibly more to the point: your patch doesn't implement the
> above behavior AFAICS. (Certainly libpq is unprepared to support
> multiple tuple types returned in one SELECT

IIRC Bruce removed that feature in Pg95 days claiming that it would
not be needed. If backend starts to support it again it would be
relatively easy to put back in.

> --- and there are no
> frontend changes in your patch.) So it might help if you'd clarify
> exactly what the proposed patch does and doesn't do.
>
> regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lincoln Yeoh 2000-05-19 06:47:45 Re: Can postgres saving file ?
Previous Message Chris Bitmead 2000-05-19 06:30:26 Re: OO Stuff

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Mount 2000-05-19 06:53:25 RE: LONG: How to migrate data from MS-SQL7 to PostgreSQ L 7.0
Previous Message Chris Bitmead 2000-05-19 06:30:26 Re: OO Stuff