Skip site navigation (1) Skip section navigation (2)

Re: [GENERAL] Proposed Changes to PostgreSQL

From: Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: 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: [GENERAL] Proposed Changes to PostgreSQL
Date: 2000-02-03 03:48:46
Message-ID: 3898FA9E.22D33715@nimrod.itg.telecom.com.au (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackerspgsql-sql
Bruce Momjian wrote:

> > I already have a patch for this one. The change is a few pretty simple
> > changes
> > to gram.y.
> 
> OK, you will have to canvas the general list to make sure this does not
> break things for people, though our inheritance system needs an overhaul
> badly.

This is already CCed to the general list.

> I fear it is totally against the way our API works.  How does someone
> see how many columns in the returned row?

A new API PQnfieldsv(PQresult, tupnum) or some such.

> Yikes.  Strange. 

Strange for C code perhaps. Very useful for constructing real objects in 
OO application code framework.

> Can we just return nulls for the empty fields?

Well, I think we should probably distinguish between a field that is
null,
and a field that simply doesn't exist.

> How many new API calls are required?

Perhaps just the one. (above).

In response to

Responses

pgsql-hackers by date

Next:From: Chris BitmeadDate: 2000-02-03 03:56:16
Subject: Re: [SQL] Re: [GENERAL] Proposed Changes to PostgreSQL
Previous:From: Chris BitmeadDate: 2000-02-03 03:41:18
Subject: Re: [SQL] Proposed Changes to PostgreSQL

pgsql-sql by date

Next:From: Chris BitmeadDate: 2000-02-03 03:56:16
Subject: Re: [SQL] Re: [GENERAL] Proposed Changes to PostgreSQL
Previous:From: Chris BitmeadDate: 2000-02-03 03:41:18
Subject: Re: [SQL] Proposed Changes to PostgreSQL

pgsql-general by date

Next:From: Chris BitmeadDate: 2000-02-03 03:56:16
Subject: Re: [SQL] Re: [GENERAL] Proposed Changes to PostgreSQL
Previous:From: Chairudin SentosaDate: 2000-02-03 03:46:02
Subject: Re: [GENERAL] 6.5.3 help (Please ignore, I was sleepy...)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group