diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index e17cf18634..494e0fc824 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1696,12 +1696,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname - - PQdb - - PQdb - - + PQdbPQdb @@ -1714,12 +1709,7 @@ char *PQdb(const PGconn *conn); - - PQuser - - PQuser - - + PQuserPQuser @@ -1732,12 +1722,7 @@ char *PQuser(const PGconn *conn); - - PQpass - - PQpass - - + PQpassPQpass @@ -1761,12 +1746,7 @@ char *PQpass(const PGconn *conn); - - PQhost - - PQhost - - + PQhostPQhost @@ -1808,12 +1788,7 @@ char *PQhost(const PGconn *conn); - - PQhostaddr - - PQhostaddr - - + PQhostaddrPQhostaddr @@ -1837,12 +1812,7 @@ char *PQhostaddr(const PGconn *conn); - - PQport - - PQport - - + PQportPQport @@ -1876,12 +1846,7 @@ char *PQport(const PGconn *conn); - - PQtty - - PQtty - - + PQttyPQtty @@ -1898,12 +1863,7 @@ char *PQtty(const PGconn *conn); - - PQoptions - - PQoptions - - + PQoptionsPQoptions @@ -1923,12 +1883,7 @@ char *PQoptions(const PGconn *conn); - - PQstatus - - PQstatus - - + PQstatusPQstatus @@ -1962,12 +1917,7 @@ ConnStatusType PQstatus(const PGconn *conn); - - PQtransactionStatus - - PQtransactionStatus - - + PQtransactionStatusPQtransactionStatus @@ -1989,12 +1939,7 @@ PGTransactionStatusType PQtransactionStatus(const PGconn *conn); - - PQparameterStatus - - PQparameterStatus - - + PQparameterStatusPQparameterStatus @@ -2068,12 +2013,7 @@ const char *PQparameterStatus(const PGconn *conn, const char *paramName); - - PQprotocolVersion - - PQprotocolVersion - - + PQprotocolVersionPQprotocolVersion @@ -2096,12 +2036,7 @@ int PQprotocolVersion(const PGconn *conn); - - PQserverVersion - - PQserverVersion - - + PQserverVersionPQserverVersion @@ -2140,12 +2075,7 @@ int PQserverVersion(const PGconn *conn); - - PQerrorMessage - - PQerrorMessage - - + PQerrorMessagePQerrorMessage @@ -2448,12 +2378,7 @@ void *PQgetssl(const PGconn *conn); - - PQexec - - PQexec - - + PQexecPQexec @@ -2496,12 +2421,7 @@ PGresult *PQexec(PGconn *conn, const char *command); - - PQexecParams - - PQexecParams - - + PQexecParamsPQexecParams @@ -2683,11 +2603,7 @@ SELECT * FROM mytable WHERE x = $1::bigint; - PQprepare - - PQprepare - - + PQpreparePQprepare @@ -2758,12 +2674,7 @@ PGresult *PQprepare(PGconn *conn, - - PQexecPrepared - - PQexecPrepared - - + PQexecPreparedPQexecPrepared @@ -2802,12 +2713,7 @@ PGresult *PQexecPrepared(PGconn *conn, - - PQdescribePrepared - - PQdescribePrepared - - + PQdescribePreparedPQdescribePrepared @@ -2842,12 +2748,7 @@ PGresult *PQdescribePrepared(PGconn *conn, const char *stmtName); - - PQdescribePortal - - PQdescribePortal - - + PQdescribePortalPQdescribePortal @@ -2895,12 +2796,7 @@ PGresult *PQdescribePortal(PGconn *conn, const char *portalName); - - PQresultStatus - - PQresultStatus - - + PQresultStatusPQresultStatus @@ -3035,12 +2931,7 @@ ExecStatusType PQresultStatus(const PGresult *res); - - PQresStatus - - PQresStatus - - + PQresStatusPQresStatus @@ -3056,12 +2947,7 @@ char *PQresStatus(ExecStatusType status); - - PQresultErrorMessage - - PQresultErrorMessage - - + PQresultErrorMessagePQresultErrorMessage @@ -3094,12 +2980,7 @@ char *PQresultErrorMessage(const PGresult *res); - - PQresultVerboseErrorMessage - - PQresultVerboseErrorMessage - - + PQresultVerboseErrorMessagePQresultVerboseErrorMessage @@ -3186,13 +3067,8 @@ char *PQresultErrorField(const PGresult *res, int fieldcode); - - PG_DIAG_SQLSTATE - - error codes - libpq - - + PG_DIAG_SQLSTATEerror codeslibpq The SQLSTATE code for the error. The SQLSTATE code identifies @@ -3453,12 +3329,7 @@ void PQclear(PGresult *res); - - PQntuples - - PQntuples - - + PQntuplesPQntuples @@ -3476,12 +3347,7 @@ int PQntuples(const PGresult *res); - - PQnfields - - PQnfields - - + PQnfieldsPQnfields @@ -3496,12 +3362,7 @@ int PQnfields(const PGresult *res); - - PQfname - - PQfname - - + PQfnamePQfname @@ -3523,12 +3384,7 @@ char *PQfname(const PGresult *res, - - PQfnumber - - PQfnumber - - + PQfnumberPQfnumber @@ -3564,12 +3420,7 @@ PQfnumber(res, "\"BAR\"") 1 - - PQftable - - PQftable - - + PQftablePQftable @@ -3599,12 +3450,7 @@ Oid PQftable(const PGresult *res, - - PQftablecol - - PQftablecol - - + PQftablecolPQftablecol @@ -3626,12 +3472,7 @@ int PQftablecol(const PGresult *res, - - PQfformat - - PQfformat - - + PQfformatPQfformat @@ -3652,12 +3493,7 @@ int PQfformat(const PGresult *res, - - PQftype - - PQftype - - + PQftypePQftype @@ -3681,12 +3517,7 @@ Oid PQftype(const PGresult *res, - - PQfmod - - PQfmod - - + PQfmodPQfmod @@ -3709,12 +3540,7 @@ int PQfmod(const PGresult *res, - - PQfsize - - PQfsize - - + PQfsizePQfsize @@ -3737,12 +3563,7 @@ int PQfsize(const PGresult *res, - - PQbinaryTuples - - PQbinaryTuples - - + PQbinaryTuplesPQbinaryTuples @@ -3765,12 +3586,7 @@ int PQbinaryTuples(const PGresult *res); - - PQgetvalue - - PQgetvalue - - + PQgetvaluePQgetvalue @@ -3815,16 +3631,9 @@ char *PQgetvalue(const PGresult *res, - - PQgetisnull - - PQgetisnull - - - null value - in libpq - - + PQgetisnullPQgetisnullnull valuein libpq @@ -3847,11 +3656,7 @@ int PQgetisnull(const PGresult *res, - - PQgetlength - - PQgetlength - + PQgetlengthPQgetlength @@ -3877,12 +3682,7 @@ int PQgetlength(const PGresult *res, - - PQnparams - - PQnparams - - + PQnparamsPQnparams @@ -3901,12 +3701,7 @@ int PQnparams(const PGresult *res); - - PQparamtype - - PQparamtype - - + PQparamtypePQparamtype @@ -3926,12 +3721,7 @@ Oid PQparamtype(const PGresult *res, int param_number); - - PQprint - - PQprint - - + PQprintPQprint @@ -3977,12 +3767,7 @@ typedef struct - - PQcmdStatus - - PQcmdStatus - - + PQcmdStatusPQcmdStatus @@ -4004,12 +3789,7 @@ char *PQcmdStatus(PGresult *res); - - PQcmdTuples - - PQcmdTuples - - + PQcmdTuplesPQcmdTuples @@ -4038,12 +3818,7 @@ char *PQcmdTuples(PGresult *res); - - PQoidValue - - PQoidValue - - + PQoidValuePQoidValue @@ -4063,12 +3838,7 @@ Oid PQoidValue(const PGresult *res); - - PQoidStatus - - PQoidStatus - - + PQoidStatusPQoidStatus @@ -4097,12 +3867,7 @@ char *PQoidStatus(const PGresult *res); - - PQescapeLiteral - - PQescapeLiteral - - + PQescapeLiteralPQescapeLiteral @@ -4161,12 +3926,7 @@ char *PQescapeLiteral(PGconn *conn, const char *str, size_t length); - - PQescapeIdentifier - - PQescapeIdentifier - - + PQescapeIdentifierPQescapeIdentifier @@ -4216,12 +3976,7 @@ char *PQescapeIdentifier(PGconn *conn, const char *str, size_t length); - - PQescapeStringConn - - PQescapeStringConn - - + PQescapeStringConnPQescapeStringConn @@ -4271,12 +4026,7 @@ size_t PQescapeStringConn(PGconn *conn, - - PQescapeString - - PQescapeString - - + PQescapeStringPQescapeString @@ -4309,12 +4059,7 @@ size_t PQescapeString (char *to, const char *from, size_t length); - - PQescapeByteaConn - - PQescapeByteaConn - - + PQescapeByteaConnPQescapeByteaConn @@ -4370,12 +4115,7 @@ unsigned char *PQescapeByteaConn(PGconn *conn, - - PQescapeBytea - - PQescapeBytea - - + PQescapeByteaPQescapeBytea @@ -4403,12 +4143,7 @@ unsigned char *PQescapeBytea(const unsigned char *from, - - PQunescapeBytea - - PQunescapeBytea - - + PQunescapeByteaPQunescapeBytea @@ -4521,12 +4256,7 @@ unsigned char *PQunescapeBytea(const unsigned char *from, size_t *to_length); - - PQsendQuery - - PQsendQuery - - + PQsendQueryPQsendQuery @@ -4548,12 +4278,7 @@ int PQsendQuery(PGconn *conn, const char *command); - - PQsendQueryParams - - PQsendQueryParams - - + PQsendQueryParamsPQsendQueryParams @@ -4581,12 +4306,7 @@ int PQsendQueryParams(PGconn *conn, - - PQsendPrepare - - PQsendPrepare - - + PQsendPreparePQsendPrepare @@ -4613,12 +4333,7 @@ int PQsendPrepare(PGconn *conn, - - PQsendQueryPrepared - - PQsendQueryPrepared - - + PQsendQueryPreparedPQsendQueryPrepared @@ -4646,12 +4361,7 @@ int PQsendQueryPrepared(PGconn *conn, - - PQsendDescribePrepared - - PQsendDescribePrepared - - + PQsendDescribePreparedPQsendDescribePrepared @@ -4673,12 +4383,7 @@ int PQsendDescribePrepared(PGconn *conn, const char *stmtName); - - PQsendDescribePortal - - PQsendDescribePortal - - + PQsendDescribePortalPQsendDescribePortal @@ -4700,12 +4405,7 @@ int PQsendDescribePortal(PGconn *conn, const char *portalName); - - PQgetResult - - PQgetResult - - + PQgetResultPQgetResult @@ -4778,11 +4478,7 @@ PGresult *PQgetResult(PGconn *conn); - - PQconsumeInput - - PQconsumeInput - + PQconsumeInputPQconsumeInput @@ -4818,12 +4514,7 @@ int PQconsumeInput(PGconn *conn); - - PQisBusy - - PQisBusy - - + PQisBusyPQisBusy @@ -4887,12 +4578,7 @@ int PQisBusy(PGconn *conn); - - PQsetnonblocking - - PQsetnonblocking - - + PQsetnonblockingPQsetnonblocking @@ -4924,12 +4610,7 @@ int PQsetnonblocking(PGconn *conn, int arg); - - PQisnonblocking - - PQisnonblocking - - + PQisnonblockingPQisnonblocking @@ -4947,12 +4628,7 @@ int PQisnonblocking(const PGconn *conn); - - PQflush - - PQflush - - + PQflushPQflush @@ -5030,12 +4706,7 @@ int PQflush(PGconn *conn); - - PQsetSingleRowMode - - PQsetSingleRowMode - - + PQsetSingleRowModePQsetSingleRowMode @@ -5094,12 +4765,7 @@ int PQsetSingleRowMode(PGconn *conn); - - PQgetCancel - - PQgetCancel - - + PQgetCancelPQgetCancel @@ -5124,12 +4790,7 @@ PGcancel *PQgetCancel(PGconn *conn); - - PQfreeCancel - - PQfreeCancel - - + PQfreeCancelPQfreeCancel @@ -5147,12 +4808,7 @@ void PQfreeCancel(PGcancel *cancel); - - PQcancel - - PQcancel - - + PQcancelPQcancel @@ -5193,12 +4849,7 @@ int PQcancel(PGcancel *cancel, char *errbuf, int errbufsize); - - PQrequestCancel - - PQrequestCancel - - + PQrequestCancelPQrequestCancel @@ -5472,13 +5123,8 @@ typedef struct pgNotify - - PQnfields - - PQnfields - with COPY - - + PQnfieldsPQnfieldswith COPY @@ -5488,13 +5134,8 @@ typedef struct pgNotify - - PQbinaryTuples - - PQbinaryTuples - with COPY - - + PQbinaryTuplesPQbinaryTupleswith COPY @@ -5507,13 +5148,8 @@ typedef struct pgNotify - - PQfformat - - PQfformat - with COPY - - + PQfformatPQfformatwith COPY @@ -5548,12 +5184,7 @@ typedef struct pgNotify - - PQputCopyData - - PQputCopyData - - + PQputCopyDataPQputCopyData @@ -5587,12 +5218,7 @@ int PQputCopyData(PGconn *conn, - - PQputCopyEnd - - PQputCopyEnd - - + PQputCopyEndPQputCopyEnd @@ -5653,12 +5279,7 @@ int PQputCopyEnd(PGconn *conn, - - PQgetCopyData - - PQgetCopyData - - + PQgetCopyDataPQgetCopyData @@ -5730,12 +5351,7 @@ int PQgetCopyData(PGconn *conn, - - PQgetline - - PQgetline - - + PQgetlinePQgetline @@ -5769,12 +5385,7 @@ int PQgetline(PGconn *conn, - - PQgetlineAsync - - PQgetlineAsync - - + PQgetlineAsyncPQgetlineAsync @@ -5828,12 +5439,7 @@ int PQgetlineAsync(PGconn *conn, - - PQputline - - PQputline - - + PQputlinePQputline @@ -5869,12 +5475,7 @@ int PQputline(PGconn *conn, - - PQputnbytes - - PQputnbytes - - + PQputnbytesPQputnbytes @@ -5896,12 +5497,7 @@ int PQputnbytes(PGconn *conn, - - PQendcopy - - PQendcopy - - + PQendcopyPQendcopy @@ -5961,12 +5557,7 @@ int PQendcopy(PGconn *conn); - - PQclientEncoding - - PQclientEncoding - - + PQclientEncodingPQclientEncoding @@ -5988,12 +5579,7 @@ char *pg_encoding_to_char(int encoding_id); - - PQsetClientEncoding - - PQsetClientEncoding - - + PQsetClientEncodingPQsetClientEncoding @@ -6012,12 +5598,7 @@ int PQsetClientEncoding(PGconn *conn, const char * - - PQsetErrorVerbosity - - PQsetErrorVerbosity - - + PQsetErrorVerbosityPQsetErrorVerbosity @@ -6059,12 +5640,7 @@ PGVerbosity PQsetErrorVerbosity(PGconn *conn, PGVerbosity verbosity); - - PQsetErrorContextVisibility - - PQsetErrorContextVisibility - - + PQsetErrorContextVisibilityPQsetErrorContextVisibility @@ -6107,12 +5683,7 @@ PGContextVisibility PQsetErrorContextVisibility(PGconn *conn, PGContextVisibilit - - PQtrace - - PQtrace - - + PQtracePQtrace @@ -6137,12 +5708,7 @@ void PQtrace(PGconn *conn, FILE *stream); - - PQuntrace - - PQuntrace - - + PQuntracePQuntrace @@ -6166,12 +5732,7 @@ void PQuntrace(PGconn *conn); - - PQfreemem - - PQfreemem - - + PQfreememPQfreemem @@ -6199,12 +5760,7 @@ void PQfreemem(void *ptr); - - PQconninfoFree - - PQconninfoFree - - + PQconninfoFreePQconninfoFree @@ -6223,12 +5779,7 @@ void PQconninfoFree(PQconninfoOption *connOptions); - - PQencryptPasswordConn - - PQencryptPasswordConn - - + PQencryptPasswordConnPQencryptPasswordConn @@ -6277,12 +5828,7 @@ char *PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user, - - PQencryptPassword - - PQencryptPassword - - + PQencryptPasswordPQencryptPassword @@ -6300,12 +5846,7 @@ char *PQencryptPassword(const char *passwd, const char *user); - - PQmakeEmptyPGresult - - PQmakeEmptyPGresult - - + PQmakeEmptyPGresultPQmakeEmptyPGresult @@ -6337,12 +5878,7 @@ PGresult *PQmakeEmptyPGresult(PGconn *conn, ExecStatusType status); - - PQfireResultCreateEvents - - PQfireResultCreateEvents - - + PQfireResultCreateEventsPQfireResultCreateEvents Fires a PGEVT_RESULTCREATE event (see - - PQcopyResult - - PQcopyResult - - + PQcopyResultPQcopyResult @@ -6416,12 +5947,7 @@ PGresult *PQcopyResult(const PGresult *src, int flags); - - PQsetResultAttrs - - PQsetResultAttrs - - + PQsetResultAttrsPQsetResultAttrs @@ -6444,12 +5970,7 @@ int PQsetResultAttrs(PGresult *res, int numAttributes, PGresAttDesc *attDescs); - - PQsetvalue - - PQsetvalue - - + PQsetvaluePQsetvalue @@ -6478,12 +5999,7 @@ int PQsetvalue(PGresult *res, int tup_num, int field_num, char *value, int len); - - PQresultAlloc - - PQresultAlloc - - + PQresultAllocPQresultAlloc @@ -6504,12 +6020,7 @@ void *PQresultAlloc(PGresult *res, size_t nBytes); - - PQresultMemorySize - - PQresultMemorySize - - + PQresultMemorySizePQresultMemorySize @@ -6530,13 +6041,8 @@ size_t PQresultMemorySize(const PGresult *res); - - PQlibVersion - - PQlibVersion - PQserverVersion - - + PQlibVersionPQlibVersionPQserverVersion @@ -6946,12 +6452,7 @@ typedef struct - - PGEventProc - - PGEventProc - - + PGEventProcPGEventProc @@ -7001,12 +6502,7 @@ int eventproc(PGEventId evtId, void *evtInfo, void *passThrough) - - PQregisterEventProc - - PQregisterEventProc - - + PQregisterEventProcPQregisterEventProc @@ -7041,12 +6537,7 @@ int PQregisterEventProc(PGconn *conn, PGEventProc proc, - - PQsetInstanceData - - PQsetInstanceData - - + PQsetInstanceDataPQsetInstanceData Sets the connection conn's instanceData @@ -7063,12 +6554,7 @@ int PQsetInstanceData(PGconn *conn, PGEventProc proc, void *data); - - PQinstanceData - - PQinstanceData - - + PQinstanceDataPQinstanceData Returns the @@ -7084,12 +6570,7 @@ void *PQinstanceData(const PGconn *conn, PGEventProc proc); - - PQresultSetInstanceData - - PQresultSetInstanceData - - + PQresultSetInstanceDataPQresultSetInstanceData Sets the result's instanceData @@ -7114,12 +6595,7 @@ int PQresultSetInstanceData(PGresult *res, PGEventProc proc, void *data); - - PQresultInstanceData - - PQresultInstanceData - - + PQresultInstanceDataPQresultInstanceData Returns the result's instanceData associated with proc, or NULL @@ -8233,12 +7709,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*) - - PQinitOpenSSL - - PQinitOpenSSL - - + PQinitOpenSSLPQinitOpenSSL @@ -8269,14 +7740,7 @@ void PQinitOpenSSL(int do_ssl, int do_crypto); - - PQinitSSL - - PQinitSSL - - - - + PQinitSSLPQinitSSL Allows applications to select which security libraries to initialize. @@ -8328,12 +7792,7 @@ void PQinitSSL(int do_ssl); - - PQisthreadsafe - - PQisthreadsafe - - + PQisthreadsafePQisthreadsafe