Re: [GENERAL] Proposed Changes to PostgreSQL - Mailing list pgsql-general

From Bruce Momjian
Subject Re: [GENERAL] Proposed Changes to PostgreSQL
Date
Msg-id 200002030403.XAA03857@candle.pha.pa.us
Whole thread Raw
In response to Re: [GENERAL] Proposed Changes to PostgreSQL  (Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>)
List pgsql-general
I can live with this.  Thanks.


> 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).
>


--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: Chris Bitmead
Date:
Subject: Re: [GENERAL] Proposed Changes to PostgreSQL
Next
From: Mathijs Brands
Date:
Subject: Re: [SQL] Re: [GENERAL] Proposed Changes to PostgreSQL