Re: Alternative new libpq interface. - Mailing list pgsql-hackers

From Chris Bitmead
Subject Re: Alternative new libpq interface.
Date
Msg-id 396557F7.57992DA9@nimrod.itg.telecom.com.au
Whole thread Raw
In response to Re: Alternative new libpq interface.  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote:

> If you want to implement a new C API, look at SQL/CLI in ISO/IEC
> 9075-3:1999. It would be a shame if we created yet another proprietary
> API.

As usual, our resident standards guru comes and saves the day. :-)

Ok, I'm going to implement the SQL3 C API, which is a streaming API. The
one change I'll make is I'll be adding a
Boolean SQLIsNewGroup(hstmt), so that the OO stuff can tell when a new
object type is on the way. Oh and I'll have some appropriate APIs for
postgres specific extensions, like SQLLastInsertOid().


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Memo on coding practices: strcmp() does not yield bool
Next
From: "anuj"
Date:
Subject: libpq connectivity