SPI_prepare's parameter

From: 高健 <luckyjackgao(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: SPI_prepare's parameter
Date: 2012-10-29 03:06:16
Message-ID: CAL454F1=ooiF-2pzxrzAFJBTuVybr-H2omTi5CDkRdXECQjDwA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am new to PostgreSQL's SPI(Server Programming Interface).

I can understand PostgreSQL's exampel of using SPI. But I am not sure about
SPI_prepare's parameter.

void * SPI_prepare(const char * command, int nargs, Oid * argtypes)

Can somebody kindly give an example of using SPI_prepare ?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tianyin Xu 2012-10-29 05:18:34 How to print application_name in log_line_prefix (using %a)?
Previous Message Michael Paquier 2012-10-28 23:58:08 Re: pg_lesslog - status?