Re: execute query from inside C function

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

> Hello
>
> you should to use a SPI API
>
> http://www.postgresql.org/docs/9.3/static/spi.html
>
> http://www.postgresql.org/docs/9.3/static/spi-spi-exec.html
>

Yep just found it. I obviously didn't google hard enough.

Thanks

James

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2014-02-25 12:38:18 Re: execute query from inside C function
Previous Message Pavel Stehule 2014-02-25 12:34:28 Re: execute query from inside C function