Re: Embed SQL in C

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: GMX <baldauf_m(at)gmx(dot)at>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Embed SQL in C
Date: 2005-03-07 04:10:25
Message-ID: 20050307041025.GB23291@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Sun, Mar 06, 2005 at 09:08:07PM -0700, Michael Fuhr wrote:
> On Wed, Mar 02, 2005 at 06:46:10PM +0100, GMX wrote:
>
> > I need a C-program that goes something like this:
>
> Why the requirement to use C? Many tasks are easier in and can be
> adequately written with higher-level languages like Perl, Python,
> Ruby, Tcl, etc.

If you must use C, see the libpq or ECPG documentation. Here are
links to the relevant chapters for the latest version of PostgreSQL:

http://www.postgresql.org/docs/8.0/interactive/libpq.html
http://www.postgresql.org/docs/8.0/interactive/ecpg.html

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Wolfgang Keller 2005-03-07 06:39:53 Re: [NOVICE] Python modules for PL/Python?
Previous Message Michael Fuhr 2005-03-07 04:08:07 Re: Embed SQL in C