diff options
Diffstat (limited to 'doc/src/sgml')
| -rw-r--r-- | doc/src/sgml/libpq.sgml | 300 | ||||
| -rw-r--r-- | doc/src/sgml/lobj.sgml | 24 | 
2 files changed, 162 insertions, 162 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index ad5cb8cce2b..a25c4c21515 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.313.2.4 2010/08/04 16:27:13 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.313.2.5 2010/08/09 12:00:39 rhaas Exp $ -->  <chapter id="libpq">   <title><application>libpq</application> - C Library</title> @@ -91,7 +91,7 @@     </note>     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqconnectdbparams'>       <term><function>PQconnectdbParams</function><indexterm><primary>PQconnectdbParams</></></term>       <listitem>        <para> @@ -572,7 +572,7 @@ PGconn *PQconnectdbParams(const char **keywords, const char **values, int expand       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqconnectdb'>       <term><function>PQconnectdb</function><indexterm><primary>PQconnectdb</></></term>       <listitem>        <para> @@ -605,7 +605,7 @@ PGconn *PQconnectdb(const char *conninfo);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqsetdblogin'>       <term><function>PQsetdbLogin</function><indexterm><primary>PQsetdbLogin</></></term>       <listitem>        <para> @@ -637,7 +637,7 @@ PGconn *PQsetdbLogin(const char *pghost,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqsetdb'>       <term><function>PQsetdb</function><indexterm><primary>PQsetdb</></></term>       <listitem>        <para> @@ -659,7 +659,7 @@ PGconn *PQsetdb(char *pghost,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqconnectstartparams'>       <term><function>PQconnectStartParams</function><indexterm><primary>PQconnectStartParams</></></term>       <term><function>PQconnectStart</function><indexterm><primary>PQconnectStart</></></term>       <term><function>PQconnectPoll</function><indexterm><primary>PQconnectPoll</></></term> @@ -776,7 +776,7 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);         to provide feedback to the user for example. These statuses are:         <variablelist> -        <varlistentry> +        <varlistentry id='libpq-connection-started'>           <term><symbol>CONNECTION_STARTED</symbol></term>           <listitem>            <para> @@ -785,7 +785,7 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);           </listitem>          </varlistentry> -        <varlistentry> +        <varlistentry id='libpq-connection-made'>           <term><symbol>CONNECTION_MADE</symbol></term>           <listitem>            <para> @@ -794,7 +794,7 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);           </listitem>          </varlistentry> -        <varlistentry> +        <varlistentry id='libpq-connection-awaiting-response'>           <term><symbol>CONNECTION_AWAITING_RESPONSE</symbol></term>           <listitem>            <para> @@ -803,7 +803,7 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);           </listitem>          </varlistentry> -        <varlistentry> +        <varlistentry id='libpq-connection-auth-ok'>           <term><symbol>CONNECTION_AUTH_OK</symbol></term>           <listitem>            <para> @@ -812,7 +812,7 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);           </listitem>          </varlistentry> -        <varlistentry> +        <varlistentry id='libpq-connection-ssl-startup'>           <term><symbol>CONNECTION_SSL_STARTUP</symbol></term>           <listitem>            <para> @@ -821,7 +821,7 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);           </listitem>          </varlistentry> -        <varlistentry> +        <varlistentry id='libpq-connection-setenv'>           <term><symbol>CONNECTION_SETENV</symbol></term>           <listitem>            <para> @@ -872,7 +872,7 @@ switch(PQstatus(conn))       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqconndefaults'>       <term><function>PQconndefaults</function><indexterm><primary>PQconndefaults</></></term>       <listitem>        <para> @@ -918,7 +918,7 @@ typedef struct       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqconninfoparse'>       <term><function>PQconninfoParse</function><indexterm><primary>PQconninfoParse</></></term>       <listitem>        <para> @@ -963,7 +963,7 @@ PQconninfoOption *PQconninfoParse(const char *conninfo, char **errmsg);     </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqfinish'>       <term><function>PQfinish</function><indexterm><primary>PQfinish</></></term>       <listitem>        <para> @@ -984,7 +984,7 @@ void PQfinish(PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqreset'>       <term><function>PQreset</function><indexterm><primary>PQreset</></></term>       <listitem>        <para> @@ -1004,7 +1004,7 @@ void PQreset(PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqresetstart'>       <term><function>PQresetStart</function><indexterm><primary>PQresetStart</></></term>       <term><function>PQresetPoll</function><indexterm><primary>PQresetPoll</></></term>       <listitem> @@ -1068,7 +1068,7 @@ PostgresPollingStatusType PQresetPoll(PGconn *conn);     These values are fixed for the life of the <structname>PGconn</> object.     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqdb'>       <term>        <function>PQdb</function>        <indexterm> @@ -1086,7 +1086,7 @@ char *PQdb(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pquser'>       <term>        <function>PQuser</function>        <indexterm> @@ -1104,7 +1104,7 @@ char *PQuser(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqpass'>       <term>        <function>PQpass</function>        <indexterm> @@ -1122,7 +1122,7 @@ char *PQpass(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqhost'>       <term>        <function>PQhost</function>        <indexterm> @@ -1140,7 +1140,7 @@ char *PQhost(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqport'>       <term>        <function>PQport</function>        <indexterm> @@ -1159,7 +1159,7 @@ char *PQport(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqtty'>       <term>        <function>PQtty</function>        <indexterm> @@ -1181,7 +1181,7 @@ char *PQtty(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqoptions'>       <term>        <function>PQoptions</function>        <indexterm> @@ -1206,7 +1206,7 @@ char *PQoptions(const PGconn *conn);     are executed on the <structname>PGconn</> object.     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqstatus'>       <term>        <function>PQstatus</function>        <indexterm> @@ -1245,7 +1245,7 @@ ConnStatusType PQstatus(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqtransactionstatus'>       <term>        <function>PQtransactionStatus</function>        <indexterm> @@ -1281,7 +1281,7 @@ PGTransactionStatusType PQtransactionStatus(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqparameterstatus'>       <term>        <function>PQparameterStatus</function>        <indexterm> @@ -1360,7 +1360,7 @@ const char *PQparameterStatus(const PGconn *conn, const char *paramName);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqprotocolversion'>       <term>        <function>PQprotocolVersion</function>        <indexterm> @@ -1387,7 +1387,7 @@ int PQprotocolVersion(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqserverversion'>       <term>        <function>PQserverVersion</function>        <indexterm> @@ -1412,7 +1412,7 @@ int PQserverVersion(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqerrormessage'>       <term>        <function>PQerrorMessage</function>        <indexterm> @@ -1446,7 +1446,7 @@ char *PQerrorMessage(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqsocket'>       <term><function>PQsocket</function><indexterm><primary>PQsocket</></></term>       <listitem>        <para> @@ -1464,7 +1464,7 @@ int PQsocket(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqbackendpid'>       <term><function>PQbackendPID</function><indexterm><primary>PQbackendPID</></></term>       <listitem>        <para> @@ -1489,7 +1489,7 @@ int PQbackendPID(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqconnectionneedspassword'>       <term><function>PQconnectionNeedsPassword</function><indexterm><primary>PQconnectionNeedsPassword</></></term>       <listitem>        <para> @@ -1509,7 +1509,7 @@ int PQconnectionNeedsPassword(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqconnectionusedpassword'>       <term><function>PQconnectionUsedPassword</function><indexterm><primary>PQconnectionUsedPassword</></></term>       <listitem>        <para> @@ -1528,7 +1528,7 @@ int PQconnectionUsedPassword(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqgetssl'>       <term><function>PQgetssl</function><indexterm><primary>PQgetssl</></></term>       <listitem>        <para> @@ -1575,7 +1575,7 @@ SSL *PQgetssl(const PGconn *conn);     <para>      <variablelist> -     <varlistentry> +     <varlistentry id='libpq-pqexec'>        <term>         <function>PQexec</function>         <indexterm> @@ -1619,7 +1619,7 @@ PGresult *PQexec(PGconn *conn, const char *command);     <para>      <variablelist> -     <varlistentry> +     <varlistentry id='libpq-pqexecparams'>        <term>         <function>PQexecParams</function>         <indexterm> @@ -1806,7 +1806,7 @@ SELECT * FROM mytable WHERE x = $1::bigint;     <para>      <variablelist> -     <varlistentry> +     <varlistentry id='libpq-pqprepare'>        <term><function>PQprepare</function>         <indexterm>          <primary>PQprepare</primary> @@ -1883,7 +1883,7 @@ PGresult *PQprepare(PGconn *conn,     <para>      <variablelist> -     <varlistentry> +     <varlistentry id='libpq-pqexecprepared'>        <term>         <function>PQexecPrepared</function>         <indexterm> @@ -1927,7 +1927,7 @@ PGresult *PQexecPrepared(PGconn *conn,        </listitem>       </varlistentry> -     <varlistentry> +     <varlistentry id='libpq-pqdescribeprepared'>        <term>         <function>PQdescribePrepared</function>         <indexterm> @@ -1967,7 +1967,7 @@ PGresult *PQdescribePrepared(PGconn *conn, const char *stmtName);        </listitem>       </varlistentry> -     <varlistentry> +     <varlistentry id='libpq-pqdescribeportal'>        <term>         <function>PQdescribePortal</function>         <indexterm> @@ -2020,7 +2020,7 @@ PGresult *PQdescribePortal(PGconn *conn, const char *portalName);      are subject to change in the future.      <variablelist> -     <varlistentry> +     <varlistentry id='libpq-pqresultstatus'>        <term>         <function>PQresultStatus</function>         <indexterm> @@ -2040,7 +2040,7 @@ ExecStatusType PQresultStatus(const PGresult *res);          <function>PQresultStatus</function> can return one of the following values:          <variablelist> -         <varlistentry> +         <varlistentry id='libpq-pgres-empty-query'>            <term><literal>PGRES_EMPTY_QUERY</literal></term>            <listitem>             <para> @@ -2049,7 +2049,7 @@ ExecStatusType PQresultStatus(const PGresult *res);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pgres-command-ok'>            <term><literal>PGRES_COMMAND_OK</literal></term>            <listitem>             <para> @@ -2058,7 +2058,7 @@ ExecStatusType PQresultStatus(const PGresult *res);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pgres-tuples-ok'>            <term><literal>PGRES_TUPLES_OK</literal></term>            <listitem>             <para> @@ -2068,7 +2068,7 @@ ExecStatusType PQresultStatus(const PGresult *res);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pgres-copy-out'>            <term><literal>PGRES_COPY_OUT</literal></term>            <listitem>             <para> @@ -2077,7 +2077,7 @@ ExecStatusType PQresultStatus(const PGresult *res);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pgres-copy-in'>            <term><literal>PGRES_COPY_IN</literal></term>            <listitem>             <para> @@ -2086,7 +2086,7 @@ ExecStatusType PQresultStatus(const PGresult *res);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pgres-bad-response'>            <term><literal>PGRES_BAD_RESPONSE</literal></term>            <listitem>             <para> @@ -2095,7 +2095,7 @@ ExecStatusType PQresultStatus(const PGresult *res);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pgres-nonfatal-error'>            <term><literal>PGRES_NONFATAL_ERROR</literal></term>            <listitem>             <para> @@ -2104,7 +2104,7 @@ ExecStatusType PQresultStatus(const PGresult *res);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pgres-fatal-error'>            <term><literal>PGRES_FATAL_ERROR</literal></term>            <listitem>             <para> @@ -2135,7 +2135,7 @@ ExecStatusType PQresultStatus(const PGresult *res);        </listitem>       </varlistentry> -     <varlistentry> +     <varlistentry id='libpq-pqresstatus'>        <term>         <function>PQresStatus</function>         <indexterm> @@ -2156,7 +2156,7 @@ char *PQresStatus(ExecStatusType status);        </listitem>       </varlistentry> -     <varlistentry> +     <varlistentry id='libpq-pqresulterrormessage'>        <term>         <function>PQresultErrorMessage</function>         <indexterm> @@ -2194,7 +2194,7 @@ char *PQresultErrorMessage(const PGresult *res);        </listitem>       </varlistentry> -     <varlistentry> +     <varlistentry id='libpq-pqresulterrorfield'>        <term><function>PQresultErrorField</function><indexterm><primary>PQresultErrorField</></></term>        <listitem>         <para> @@ -2215,7 +2215,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);         <para>          The following field codes are available:          <variablelist> -         <varlistentry> +         <varlistentry id='libpq-pg-diag-severity'>            <term><symbol>PG_DIAG_SEVERITY</></term>            <listitem>             <para> @@ -2228,7 +2228,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pg-diag-sqlstate'>            <indexterm>             <primary>error codes</primary>             <secondary>libpq</secondary> @@ -2247,7 +2247,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pg-diag-message-primary'>            <term><symbol>PG_DIAG_MESSAGE_PRIMARY</></term>            <listitem>             <para> @@ -2257,7 +2257,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pg-diag-message-detail'>            <term><symbol>PG_DIAG_MESSAGE_DETAIL</></term>            <listitem>             <para> @@ -2267,7 +2267,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pg-diag-message-hint'>            <term><symbol>PG_DIAG_MESSAGE_HINT</></term>            <listitem>             <para> @@ -2279,7 +2279,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pg-diag-statement-position'>            <term><symbol>PG_DIAG_STATEMENT_POSITION</></term>            <listitem>             <para> @@ -2291,7 +2291,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pg-diag-internal-position'>            <term><symbol>PG_DIAG_INTERNAL_POSITION</></term>            <listitem>             <para> @@ -2305,7 +2305,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pg-diag-internal-query'>            <term><symbol>PG_DIAG_INTERNAL_QUERY</></term>            <listitem>             <para> @@ -2315,7 +2315,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pg-diag-context'>            <term><symbol>PG_DIAG_CONTEXT</></term>            <listitem>             <para> @@ -2327,7 +2327,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pg-diag-source-file'>            <term><symbol>PG_DIAG_SOURCE_FILE</></term>            <listitem>             <para> @@ -2337,7 +2337,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pg-diag-source-line'>            <term><symbol>PG_DIAG_SOURCE_LINE</></term>            <listitem>             <para> @@ -2347,7 +2347,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);            </listitem>           </varlistentry> -         <varlistentry> +         <varlistentry id='libpq-pg-diag-source-function'>            <term><symbol>PG_DIAG_SOURCE_FUNCTION</></term>            <listitem>             <para> @@ -2381,7 +2381,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);        </listitem>       </varlistentry> -     <varlistentry> +     <varlistentry id='libpq-pqclear'>        <term><function>PQclear</function><indexterm><primary>PQclear</></></term>        <listitem>         <para> @@ -2423,7 +2423,7 @@ void PQclear(PGresult *res);     </para>     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqntuples'>       <term>        <function>PQntuples</function>        <indexterm> @@ -2445,7 +2445,7 @@ int PQntuples(const PGresult *res);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqnfields'>       <term>        <function>PQnfields</function>        <indexterm> @@ -2465,7 +2465,7 @@ int PQnfields(const PGresult *res);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqfname'>       <term>        <function>PQfname</function>        <indexterm> @@ -2492,7 +2492,7 @@ char *PQfname(const PGresult *res,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqfnumber'>       <term>        <function>PQfnumber</function>        <indexterm> @@ -2533,7 +2533,7 @@ PQfnumber(res, "\"BAR\"")    <lineannotation>1</lineannotation>       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqftable'>       <term>        <function>PQftable</function>        <indexterm> @@ -2568,7 +2568,7 @@ Oid PQftable(const PGresult *res,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqftablecol'>       <term>        <function>PQftablecol</function>        <indexterm> @@ -2595,7 +2595,7 @@ int PQftablecol(const PGresult *res,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqfformat'>       <term>        <function>PQfformat</function>        <indexterm> @@ -2621,7 +2621,7 @@ int PQfformat(const PGresult *res,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqftype'>       <term>        <function>PQftype</function>        <indexterm> @@ -2650,7 +2650,7 @@ Oid PQftype(const PGresult *res,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqfmod'>       <term>        <function>PQfmod</function>        <indexterm> @@ -2678,7 +2678,7 @@ int PQfmod(const PGresult *res,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqfsize'>       <term>        <function>PQfsize</function>        <indexterm> @@ -2706,7 +2706,7 @@ int PQfsize(const PGresult *res,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqbinarytuples'>       <term>        <function>PQbinaryTuples</function>        <indexterm> @@ -2734,7 +2734,7 @@ int PQbinaryTuples(const PGresult *res);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqgetvalue'>       <term>        <function>PQgetvalue</function>         <indexterm> @@ -2784,7 +2784,7 @@ char *PQgetvalue(const PGresult *res,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqgetisnull'>       <term>        <function>PQgetisnull</function>        <indexterm> @@ -2816,7 +2816,7 @@ int PQgetisnull(const PGresult *res,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqgetlength'>       <term>       <function>PQgetlength</function>       <indexterm> @@ -2846,7 +2846,7 @@ int PQgetlength(const PGresult *res,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqnparams'>       <term>        <function>PQnparams</function>        <indexterm> @@ -2870,7 +2870,7 @@ int PQnparams(const PGresult *res);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqparamtype'>       <term>        <function>PQparamtype</function>        <indexterm> @@ -2895,7 +2895,7 @@ Oid PQparamtype(const PGresult *res, int param_number);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqprint'>       <term>        <function>PQprint</function>        <indexterm> @@ -2946,7 +2946,7 @@ typedef struct     </para>     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqcmdstatus'>       <term>        <function>PQcmdStatus</function>        <indexterm> @@ -2973,7 +2973,7 @@ char *PQcmdStatus(PGresult *res);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqcmdtuples'>       <term>        <function>PQcmdTuples</function>        <indexterm> @@ -3007,7 +3007,7 @@ char *PQcmdTuples(PGresult *res);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqoidvalue'>       <term>        <function>PQoidValue</function>        <indexterm> @@ -3032,7 +3032,7 @@ Oid PQoidValue(const PGresult *res);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqoidstatus'>       <term>        <function>PQoidStatus</function>        <indexterm> @@ -3074,7 +3074,7 @@ char *PQoidStatus(const PGresult *res);     </indexterm>     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqescapeliteral'>       <term>        <function>PQescapeLiteral</function>        <indexterm> @@ -3138,7 +3138,7 @@ char *PQescapeLiteral(PGconn *conn, const char *str, size_t length);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqescapeidentifier'>       <term>        <function>PQescapeIdentifier</function>        <indexterm> @@ -3193,7 +3193,7 @@ char *PQescapeIdentifier(PGconn *conn, const char *str, size_t length);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqescapestringconn'>       <term>        <function>PQescapeStringConn</function>        <indexterm> @@ -3248,7 +3248,7 @@ size_t PQescapeStringConn(PGconn *conn,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqescapestring'>       <term>        <function>PQescapeString</function>        <indexterm> @@ -3284,7 +3284,7 @@ size_t PQescapeString (char *to, const char *from, size_t length);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqescapebyteaconn'>       <term>        <function>PQescapeByteaConn</function>        <indexterm> @@ -3350,7 +3350,7 @@ unsigned char *PQescapeByteaConn(PGconn *conn,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqescapebytea'>       <term>        <function>PQescapeBytea</function>        <indexterm> @@ -3390,7 +3390,7 @@ unsigned char *PQescapeBytea(const unsigned char *from,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqunescapebytea'>       <term>        <function>PQunescapeBytea</function>        <indexterm> @@ -3499,7 +3499,7 @@ unsigned char *PQunescapeBytea(const unsigned char *from, size_t *to_length);     respectively.     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqsendquery'>       <term>        <function>PQsendQuery</function>        <indexterm> @@ -3526,7 +3526,7 @@ int PQsendQuery(PGconn *conn, const char *command);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqsendqueryparams'>       <term>        <function>PQsendQueryParams</function>        <indexterm> @@ -3559,7 +3559,7 @@ int PQsendQueryParams(PGconn *conn,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqsendprepare'>       <term>        <function>PQsendPrepare</>        <indexterm> @@ -3591,7 +3591,7 @@ int PQsendPrepare(PGconn *conn,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqsendqueryprepared'>       <term>        <function>PQsendQueryPrepared</function>        <indexterm> @@ -3624,7 +3624,7 @@ int PQsendQueryPrepared(PGconn *conn,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqsenddescribeprepared'>       <term>        <function>PQsendDescribePrepared</>        <indexterm> @@ -3651,7 +3651,7 @@ int PQsendDescribePrepared(PGconn *conn, const char *stmtName);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqsenddescribeportal'>       <term>        <function>PQsendDescribePortal</>        <indexterm> @@ -3678,7 +3678,7 @@ int PQsendDescribePortal(PGconn *conn, const char *portalName);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqgetresult'>       <term>        <function>PQgetResult</function>        <indexterm> @@ -3733,7 +3733,7 @@ PGresult *PQgetResult(PGconn *conn);     use of two more functions:     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqconsumeinput'>       <term>        <function>PQconsumeInput</function>        <indexterm> @@ -3773,7 +3773,7 @@ int PQconsumeInput(PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqisbusy'>       <term>        <function>PQisBusy</function>        <indexterm> @@ -3842,7 +3842,7 @@ int PQisBusy(PGconn *conn);     can be used.     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqsetnonblocking'>       <term>        <function>PQsetnonblocking</function>        <indexterm> @@ -3879,7 +3879,7 @@ int PQsetnonblocking(PGconn *conn, int arg);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqisnonblocking'>       <term>        <function>PQisnonblocking</function>        <indexterm> @@ -3902,7 +3902,7 @@ int PQisnonblocking(const PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqflush'>       <term>        <function>PQflush</function>         <indexterm> @@ -3950,7 +3950,7 @@ int PQflush(PGconn *conn);     this section.     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqgetcancel'>       <term>        <function>PQgetCancel</function>        <indexterm> @@ -3980,7 +3980,7 @@ PGcancel *PQgetCancel(PGconn *conn);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqfreecancel'>       <term>        <function>PQfreeCancel</function>        <indexterm> @@ -4003,7 +4003,7 @@ void PQfreeCancel(PGcancel *cancel);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqcancel'>       <term>        <function>PQcancel</function>        <indexterm> @@ -4049,7 +4049,7 @@ int PQcancel(PGcancel *cancel, char *errbuf, int errbufsize);     </variablelist>     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqrequestcancel'>       <term>        <function>PQrequestCancel</function>        <indexterm> @@ -4321,7 +4321,7 @@ typedef struct pgNotify     that are also used in connection with query results:     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqnfields-1'>       <term>        <function>PQnfields</function>        <indexterm> @@ -4337,7 +4337,7 @@ typedef struct pgNotify       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqbinarytuples-1'>       <term>        <function>PQbinaryTuples</function>        <indexterm> @@ -4356,7 +4356,7 @@ typedef struct pgNotify       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqfformat-1'>       <term>        <function>PQfformat</function>        <indexterm> @@ -4397,7 +4397,7 @@ typedef struct pgNotify     </para>     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqputcopydata'>       <term>        <function>PQputCopyData</function>        <indexterm> @@ -4436,7 +4436,7 @@ int PQputCopyData(PGconn *conn,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqputcopyend'>       <term>        <function>PQputCopyEnd</function>        <indexterm> @@ -4497,7 +4497,7 @@ int PQputCopyEnd(PGconn *conn,     </para>     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqgetcopydata'>       <term>        <function>PQgetCopyData</function>        <indexterm> @@ -4574,7 +4574,7 @@ int PQgetCopyData(PGconn *conn,     </para>     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqgetline'>       <term>        <function>PQgetline</function>        <indexterm> @@ -4613,7 +4613,7 @@ int PQgetline(PGconn *conn,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqgetlineasync'>       <term>        <function>PQgetlineAsync</function>        <indexterm> @@ -4672,7 +4672,7 @@ int PQgetlineAsync(PGconn *conn,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqputline'>       <term>        <function>PQputline</function>        <indexterm> @@ -4713,7 +4713,7 @@ int PQputline(PGconn *conn,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqputnbytes'>       <term>        <function>PQputnbytes</function>        <indexterm> @@ -4740,7 +4740,7 @@ int PQputnbytes(PGconn *conn,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqendcopy'>       <term>        <function>PQendcopy</function>        <indexterm> @@ -4805,7 +4805,7 @@ int PQendcopy(PGconn *conn);    </para>    <variablelist> -   <varlistentry> +   <varlistentry id='libpq-pqclientencoding'>      <term>       <function>PQclientEncoding</function>       <indexterm> @@ -4831,7 +4831,7 @@ char *pg_encoding_to_char(int <replaceable>encoding_id</replaceable>);      </listitem>     </varlistentry> -   <varlistentry> +   <varlistentry id='libpq-pqsetclientencoding'>      <term>       <function>PQsetClientEncoding</function>       <indexterm> @@ -4855,7 +4855,7 @@ int PQsetClientEncoding(PGconn *<replaceable>conn</replaceable>, const char *<re      </listitem>     </varlistentry> -   <varlistentry> +   <varlistentry id='libpq-pqseterrorverbosity'>      <term>       <function>PQsetErrorVerbosity</function>       <indexterm> @@ -4891,7 +4891,7 @@ PGVerbosity PQsetErrorVerbosity(PGconn *conn, PGVerbosity verbosity);      </listitem>     </varlistentry> -   <varlistentry> +   <varlistentry id='libpq-pqtrace'>      <term>       <function>PQtrace</function>       <indexterm> @@ -4921,7 +4921,7 @@ void PQtrace(PGconn *conn, FILE *stream);      </listitem>     </varlistentry> -   <varlistentry> +   <varlistentry id='libpq-pquntrace'>      <term>       <function>PQuntrace</function>       <indexterm> @@ -4950,7 +4950,7 @@ void PQuntrace(PGconn *conn);    </para>    <variablelist> -   <varlistentry> +   <varlistentry id='libpq-pqfreemem'>      <term>       <function>PQfreemem</function>       <indexterm> @@ -4983,7 +4983,7 @@ void PQfreemem(void *ptr);      </listitem>     </varlistentry> -   <varlistentry> +   <varlistentry id='libpq-pqconninfofree'>      <term>       <function>PQconninfoFree</function>       <indexterm> @@ -5007,7 +5007,7 @@ void PQconninfoFree(PQconninfoOption *connOptions);      </listitem>     </varlistentry> -   <varlistentry> +   <varlistentry id='libpq-pqencryptpassword'>      <term>       <function>PQencryptPassword</function>       <indexterm> @@ -5037,7 +5037,7 @@ char * PQencryptPassword(const char *passwd, const char *user);      </listitem>     </varlistentry> -   <varlistentry> +   <varlistentry id='libpq-pqmakeemptypgresult'>      <term>       <function>PQmakeEmptyPGresult</function>       <indexterm> @@ -5074,7 +5074,7 @@ PGresult *PQmakeEmptyPGresult(PGconn *conn, ExecStatusType status);      </listitem>     </varlistentry> -   <varlistentry> +   <varlistentry id='libpq-pqfireresultcreateevents'>      <term>       <function>PQfireResultCreateEvents</function>       <indexterm> @@ -5114,7 +5114,7 @@ int PQfireResultCreateEvents(PGconn *conn, PGresult *res);      </listitem>     </varlistentry> -   <varlistentry> +   <varlistentry id='libpq-pqcopyresult'>      <term>       <function>PQcopyResult</function>       <indexterm> @@ -5153,7 +5153,7 @@ PGresult *PQcopyResult(const PGresult *src, int flags);      </listitem>     </varlistentry> -   <varlistentry> +   <varlistentry id='libpq-pqsetresultattrs'>      <term>       <function>PQsetResultAttrs</function>       <indexterm> @@ -5181,7 +5181,7 @@ int PQsetResultAttrs(PGresult *res, int numAttributes, PGresAttDesc *attDescs);      </listitem>     </varlistentry> -   <varlistentry> +   <varlistentry id='libpq-pqsetvalue'>      <term>       <function>PQsetvalue</function>       <indexterm> @@ -5215,7 +5215,7 @@ int PQsetvalue(PGresult *res, int tup_num, int field_num, char *value, int len);      </listitem>     </varlistentry> -   <varlistentry> +   <varlistentry id='libpq-pqresultalloc'>      <term>       <function>PQresultAlloc</function>       <indexterm> @@ -5402,7 +5402,7 @@ defaultNoticeProcessor(void *arg, const char *message)     </para>     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pgevt-register'>       <term><literal>PGEVT_REGISTER</literal></term>       <listitem>        <para> @@ -5432,7 +5432,7 @@ typedef struct       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pgevt-connreset'>       <term><literal>PGEVT_CONNRESET</literal></term>       <listitem>        <para> @@ -5465,7 +5465,7 @@ typedef struct       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pgevt-conndestroy'>       <term><literal>PGEVT_CONNDESTROY</literal></term>       <listitem>        <para> @@ -5494,7 +5494,7 @@ typedef struct       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pgevt-resultcreate'>       <term><literal>PGEVT_RESULTCREATE</literal></term>       <listitem>        <para> @@ -5526,7 +5526,7 @@ typedef struct       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pgevt-resultcopy'>       <term><literal>PGEVT_RESULTCOPY</literal></term>       <listitem>        <para> @@ -5561,7 +5561,7 @@ typedef struct       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pgevt-resultdestroy'>       <term><literal>PGEVT_RESULTDESTROY</literal></term>       <listitem>        <para> @@ -5596,7 +5596,7 @@ typedef struct     <title>Event Callback Procedure</title>     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pgeventproc'>       <term>        <literal>PGEventProc</literal>        <indexterm> @@ -5651,7 +5651,7 @@ int eventproc(PGEventId evtId, void *evtInfo, void *passThrough)     <title>Event Support Functions</title>      <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqregistereventproc'>       <term>        <function>PQregisterEventProc</function>        <indexterm> @@ -5691,7 +5691,7 @@ int PQregisterEventProc(PGconn *conn, PGEventProc proc,       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqsetinstancedata'>       <term>        <function>PQsetInstanceData</function>        <indexterm> @@ -5711,7 +5711,7 @@ int PQsetInstanceData(PGconn *conn, PGEventProc proc, void *data);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqinstancedata'>       <term>        <function>PQinstanceData</function>        <indexterm> @@ -5730,7 +5730,7 @@ void *PQinstanceData(const PGconn *conn, PGEventProc proc);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqresultsetinstancedata'>       <term>        <function>PQresultSetInstanceData</function>        <indexterm> @@ -5750,7 +5750,7 @@ int PQresultSetInstanceData(PGresult *res, PGEventProc proc, void *data);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqresultinstancedata'>       <term>        <function>PQresultInstanceData</function>        <indexterm> @@ -6801,7 +6801,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)    <para>     <variablelist> -    <varlistentry> +    <varlistentry id='libpq-pqinitopenssl'>       <term>        <function>PQinitOpenSSL</function>        <indexterm> @@ -6837,7 +6837,7 @@ void PQinitOpenSSL(int do_ssl, int do_crypto);       </listitem>      </varlistentry> -    <varlistentry> +    <varlistentry id='libpq-pqinitssl'>       <term>        <function>PQinitSSL</function>        <indexterm> @@ -6896,7 +6896,7 @@ void PQinitSSL(int do_ssl);    </para>    <variablelist> -   <varlistentry> +   <varlistentry id='libpq-pqisthreadsafe'>      <term>       <function>PQisthreadsafe</function>       <indexterm> diff --git a/doc/src/sgml/lobj.sgml b/doc/src/sgml/lobj.sgml index ea7d1c8dcec..32efd818413 100644 --- a/doc/src/sgml/lobj.sgml +++ b/doc/src/sgml/lobj.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/lobj.sgml,v 1.53 2010/04/03 07:22:55 petere Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/lobj.sgml,v 1.53.2.1 2010/08/09 12:00:39 rhaas Exp $ -->   <chapter id="largeObjects">    <title>Large Objects</title> @@ -99,7 +99,7 @@      <application>libpq</application> library.     </para> -   <sect2> +   <sect2 id='lo-create'>      <title>Creating a Large Object</title>      <para> @@ -158,7 +158,7 @@ inv_oid = lo_create(conn, desired_oid);      </para>     </sect2> -   <sect2> +   <sect2 id="lo-import">      <title>Importing a Large Object</title>      <para> @@ -200,7 +200,7 @@ Oid lo_import_with_oid(PGconn *conn, const char *filename, Oid lobjId);      </para>     </sect2> -   <sect2> +   <sect2 id="lo-export">      <title>Exporting a Large Object</title>      <para> @@ -218,7 +218,7 @@ int lo_export(PGconn *conn, Oid lobjId, const char *filename);      </para>     </sect2> -   <sect2> +   <sect2 id="lo-open">      <title>Opening an Existing Large Object</title>      <para> @@ -268,7 +268,7 @@ inv_fd = lo_open(conn, inv_oid, INV_READ|INV_WRITE);      </para>  </sect2> -<sect2> +<sect2 id="lo-write">  <title>Writing Data to a Large Object</title>  <para> @@ -286,7 +286,7 @@ int lo_write(PGconn *conn, int fd, const char *buf, size_t len);  </para>  </sect2> -<sect2> +<sect2 id="lo-read">  <title>Reading Data from a Large Object</title>  <para> @@ -304,7 +304,7 @@ int lo_read(PGconn *conn, int fd, char *buf, size_t len);  </para>  </sect2> -<sect2> +<sect2 id="lo-seek">  <title>Seeking in a Large Object</title>  <para> @@ -324,7 +324,7 @@ int lo_lseek(PGconn *conn, int fd, int offset, int whence);  </para>  </sect2> -<sect2> +<sect2 id="lo-tell">  <title>Obtaining the Seek Position of a Large Object</title>  <para> @@ -338,7 +338,7 @@ int lo_tell(PGconn *conn, int fd);  </para>  </sect2> -<sect2> +<sect2 id="lo-truncate">  <title>Truncating a Large Object</title>  <para> @@ -370,7 +370,7 @@ int lo_truncate(PGcon *conn, int fd, size_t len);  </para>  </sect2> -<sect2> +<sect2 id="lo-close">  <title>Closing a Large Object Descriptor</title>  <para> @@ -390,7 +390,7 @@ int lo_close(PGconn *conn, int fd);  </para>  </sect2> -   <sect2> +   <sect2 id="lo-unlink">      <title>Removing a Large Object</title>      <para>  | 
