Re: [SQL] Re: [GENERAL] Proposed Changes to PostgreSQL

From: Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au>
To: Mathijs Brands <mathijs(at)ilse(dot)nl>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, chris(at)bitmead(dot)com, "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgreSQL(dot)org>, pgsql-sql(at)postgreSQL(dot)org, pgsql-general(at)postgreSQL(dot)org
Subject: Re: [SQL] Re: [GENERAL] Proposed Changes to PostgreSQL
Date: 2000-02-03 06:29:38
Message-ID: 38992052.8BA1702E@nimrod.itg.telecom.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-sql

Mathijs Brands wrote:
>
> On Wed, Feb 02, 2000 at 09:57:48PM -0500, Bruce Momjian allegedly wrote:
> > > > > 3) The ability to return different types of rows from a SELECT. This
> > > > > is to allow implementation of ODBMS functionality where a query could
> > > > > be required to instantiate objects of differing types with differing
> > > > > attributes.
> > > >
> > > > This bothers me. We return relational data, showing the same number of
> > > > columns and types for every query. I don't think we want to change
> > > > that, even for OO.
> > >
> > > What aspects bother you? This is the fundamental important thing about
> > > object databases.
> >
> > I fear it is totally against the way our API works. How does someone
> > see how many columns in the returned row?
>
> This would probably break applications written in PHP and Perl (and
> possibly others) that have their queryresults returned to them in a
> numerically indexed array (index by offset). If this behaviour could
> be turned off, than it shouldn't be a problem.

It wouldn't affect them because the current APIs would continue to
return
the same base-level columns. You would only get access to the extra
columns
with a new API.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-02-03 07:00:09 Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL
Previous Message Mathijs Brands 2000-02-03 06:25:15 Re: [SQL] Re: [GENERAL] Proposed Changes to PostgreSQL

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-02-03 07:00:09 Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL
Previous Message Mathijs Brands 2000-02-03 06:25:15 Re: [SQL] Re: [GENERAL] Proposed Changes to PostgreSQL

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2000-02-03 07:00:09 Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL
Previous Message Mathijs Brands 2000-02-03 06:25:15 Re: [SQL] Re: [GENERAL] Proposed Changes to PostgreSQL