execute query from inside C function

From: James Harper <james(dot)harper(at)bendigoit(dot)com(dot)au>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: execute query from inside C function
Date: 2014-02-25 12:22:56
Message-ID: 6035A0D088A63A46850C3988ED045A4B6F3B4A44@BITCOM1.int.sbss.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've googled the docs but I can't seem to make a link as to how to execute database queries from inside a C function. I'm used to having a PGconn and using the API around that, but how do I do that from inside a C function (and a bit later on, a language handler?)

Thanks

James

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2014-02-25 12:34:28 Re: execute query from inside C function
Previous Message Frank Broniewski 2014-02-25 10:01:37 Re: Hard upgrade (everything)