pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: chris@bitmead.com, "pgsql-hackers@postgreSQL.org" <pgsql-hackers@postgresql.org>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Proposed Changes to PostgreSQL
Date: Thu, 03 Feb 2000 14:48:46 +1100
Message-ID: <3898FA9E.22D33715@nimrod.itg.telecom.com.au> (raw)
References: <200002030257.VAA00457@candle.pha.pa.us>

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



view thread (68+ messages)  latest in thread

Message-ID: <3898FA9E.22D33715@nimrod.itg.telecom.com.au>
Permalink:  ../3898FA9E.22D33715@nimrod.itg.telecom.com.au/
Also on:    postgresql.org/message-id/3898FA9E.22D33715@nimrod.itg.telecom.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: chrisb@nimrod.itg.telstra.com.au, pgman@candle.pha.pa.us, pgsql-hackers@postgresql.org, pgsql-general@postgresql.org
  Subject: Re: [GENERAL] Proposed Changes to PostgreSQL
  In-Reply-To: <3898FA9E.22D33715@nimrod.itg.telecom.com.au>
  References: <200002030257.VAA00457@candle.pha.pa.us> <3898FA9E.22D33715@nimrod.itg.telecom.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox