Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > bab02a23fa9f3df8d66a9a3231b50245 > files > 652

postgresql8.3-docs-8.3.6-2mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Interface Functions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="PostgreSQL 8.3.6 Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="Server Programming Interface"
HREF="spi.html"><LINK
REL="PREVIOUS"
TITLE="Server Programming Interface"
HREF="spi.html"><LINK
REL="NEXT"
TITLE="SPI_connect"
HREF="spi-spi-connect.html"><LINK
REL="STYLESHEET"
TYPE="text/css"
HREF="stylesheet.css"><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=ISO-8859-1"><META
NAME="creation"
CONTENT="2009-02-03T04:34:16"></HEAD
><BODY
CLASS="SECT1"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="5"
ALIGN="center"
VALIGN="bottom"
>PostgreSQL 8.3.6 Documentation</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
HREF="spi.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
HREF="spi.html"
>Fast Backward</A
></TD
><TD
WIDTH="60%"
ALIGN="center"
VALIGN="bottom"
>Chapter 42. Server Programming Interface</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="top"
><A
HREF="spi.html"
>Fast Forward</A
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="top"
><A
HREF="spi-spi-connect.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="SPI-INTERFACE"
>42.1. Interface Functions</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
><A
HREF="spi-spi-connect.html"
>SPI_connect</A
>&nbsp;--&nbsp;connect a procedure to the SPI manager</DT
><DT
><A
HREF="spi-spi-finish.html"
>SPI_finish</A
>&nbsp;--&nbsp;disconnect a procedure from the SPI manager</DT
><DT
><A
HREF="spi-spi-push.html"
>SPI_push</A
>&nbsp;--&nbsp;push SPI stack to allow recursive SPI usage</DT
><DT
><A
HREF="spi-spi-pop.html"
>SPI_pop</A
>&nbsp;--&nbsp;pop SPI stack to return from recursive SPI usage</DT
><DT
><A
HREF="spi-spi-execute.html"
>SPI_execute</A
>&nbsp;--&nbsp;execute a command</DT
><DT
><A
HREF="spi-spi-exec.html"
>SPI_exec</A
>&nbsp;--&nbsp;execute a read/write command</DT
><DT
><A
HREF="spi-spi-prepare.html"
>SPI_prepare</A
>&nbsp;--&nbsp;prepare a plan for a command, without executing it yet</DT
><DT
><A
HREF="spi-spi-prepare-cursor.html"
>SPI_prepare_cursor</A
>&nbsp;--&nbsp;prepare a plan for a command, without executing it yet</DT
><DT
><A
HREF="spi-spi-getargcount.html"
>SPI_getargcount</A
>&nbsp;--&nbsp;return the number of arguments needed by a plan
  prepared by <CODE
CLASS="FUNCTION"
>SPI_prepare</CODE
></DT
><DT
><A
HREF="spi-spi-getargtypeid.html"
>SPI_getargtypeid</A
>&nbsp;--&nbsp;return the data type OID for an argument of
  a plan prepared by <CODE
CLASS="FUNCTION"
>SPI_prepare</CODE
></DT
><DT
><A
HREF="spi-spi-is-cursor-plan.html"
>SPI_is_cursor_plan</A
>&nbsp;--&nbsp;return <TT
CLASS="SYMBOL"
>true</TT
> if a plan
  prepared by <CODE
CLASS="FUNCTION"
>SPI_prepare</CODE
> can be used with
  <CODE
CLASS="FUNCTION"
>SPI_cursor_open</CODE
></DT
><DT
><A
HREF="spi-spi-execute-plan.html"
>SPI_execute_plan</A
>&nbsp;--&nbsp;execute a plan prepared by <CODE
CLASS="FUNCTION"
>SPI_prepare</CODE
></DT
><DT
><A
HREF="spi-spi-execp.html"
>SPI_execp</A
>&nbsp;--&nbsp;execute a plan in read/write mode</DT
><DT
><A
HREF="spi-spi-cursor-open.html"
>SPI_cursor_open</A
>&nbsp;--&nbsp;set up a cursor using a plan created with <CODE
CLASS="FUNCTION"
>SPI_prepare</CODE
></DT
><DT
><A
HREF="spi-spi-cursor-find.html"
>SPI_cursor_find</A
>&nbsp;--&nbsp;find an existing cursor by name</DT
><DT
><A
HREF="spi-spi-cursor-fetch.html"
>SPI_cursor_fetch</A
>&nbsp;--&nbsp;fetch some rows from a cursor</DT
><DT
><A
HREF="spi-spi-cursor-move.html"
>SPI_cursor_move</A
>&nbsp;--&nbsp;move a cursor</DT
><DT
><A
HREF="spi-spi-scroll-cursor-fetch.html"
>SPI_scroll_cursor_fetch</A
>&nbsp;--&nbsp;fetch some rows from a cursor</DT
><DT
><A
HREF="spi-spi-scroll-cursor-move.html"
>SPI_scroll_cursor_move</A
>&nbsp;--&nbsp;move a cursor</DT
><DT
><A
HREF="spi-spi-cursor-close.html"
>SPI_cursor_close</A
>&nbsp;--&nbsp;close a cursor</DT
><DT
><A
HREF="spi-spi-saveplan.html"
>SPI_saveplan</A
>&nbsp;--&nbsp;save a plan</DT
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="spi.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="spi-spi-connect.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Server Programming Interface</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="spi.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>SPI_connect</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>