- publishing free software manuals
PostgreSQL Reference Manual - Volume 2 - Programming Guide
by The PostgreSQL Global Development Group
Paperback (6"x9"), 408 pages
ISBN 0954612035
RRP £19.95 ($34.95)

Sales of this book support the PostgreSQL project! Get a printed copy>>>

13.1.8 SPI_getargcount

Name

SPI_getargcount -- return the number of arguments needed by a plan prepared by SPI_prepare

Synopsis

int SPI_getargcount(void * plan)

Description

SPI_getargcount returns the number of arguments needed to execute a plan prepared by SPI_prepare.

Arguments

void * plan
execution plan (returned by SPI_prepare)

Return Value

The expected argument count for the plan, or SPI_ERROR_ARGUMENT if the plan is NULL

ISBN 0954612035PostgreSQL Reference Manual - Volume 2 - Programming GuideSee the print edition