Re: is there a vendor independent C API for DB development?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Matthew Kennedy <mkennedy(at)hssinc(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: is there a vendor independent C API for DB development?
Date: 2001-01-09 19:03:09
Message-ID: Pine.LNX.4.30.0101091959450.1538-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Matthew Kennedy writes:

> Does anyone know of a RDBMS vendor independent C API which supports
> PostgreSQL? I'm looking for something similar to Perl DBI and Java's
> JDBC, but in C.

Embedded SQL, a.k.a ECPG in the PostgreSQL case. See Programmer's Guide
and ecpg(1). Embedded SQL is a bit unusual at first glance -- because of
the "embedded" thing -- but it works and it is supported by other DBs.

There's a new standard called SQL CLI (call level interface) which has
more of a libpq feeling to it, but PostgreSQL doesn't have it and I don't
think too many other products do either.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martin A. Marques 2001-01-09 19:05:33 How to print explain using PHP
Previous Message Michael Meskes 2001-01-09 19:01:16 Re: ECPG could not connect to the database.