pg: Pipeline prepare + describeprepared
This commit is contained in:
parent
7b76d94719
commit
b6517cf05a
2 changed files with 43 additions and 14 deletions
10
c/libpq.h
10
c/libpq.h
|
|
@ -40,11 +40,12 @@ typedef enum { PQTRANS_IDLE, PQTRANS_ACTIVE, PQTRANS_INTRANS, PQTRANS_INERROR, P
|
|||
X(PQclosePrepared, PGresult *, PGconn *, const char *) \
|
||||
X(PQcmdTuples, char *, PGresult *) \
|
||||
X(PQconnectdb, PGconn *, const char *) \
|
||||
X(PQdescribePrepared, PGresult *, PGconn *, const char *) \
|
||||
X(PQenterPipelineMode, int, PGconn *) \
|
||||
X(PQerrorMessage, char *, const PGconn *) \
|
||||
X(PQexec, PGresult *, PGconn *, const char *) \
|
||||
X(PQexecParams, PGresult *, PGconn *, const char *, int, const Oid *, const char * const *, const int *, const int *, int) \
|
||||
X(PQexecPrepared, PGresult *, PGconn *, const char *, int, const char * const *, const int *, const int *, int) \
|
||||
X(PQexitPipelineMode, int, PGconn *conn) \
|
||||
X(PQfinish, void, PGconn *) \
|
||||
X(PQfmod, int, const PGresult *, int) \
|
||||
X(PQfname, char *, const PGresult *, int) \
|
||||
|
|
@ -52,18 +53,21 @@ typedef enum { PQTRANS_IDLE, PQTRANS_ACTIVE, PQTRANS_INTRANS, PQTRANS_INERROR, P
|
|||
X(PQftype, Oid, const PGresult *, int) \
|
||||
X(PQgetisnull, int, const PGresult *, int, int) \
|
||||
X(PQgetlength, int, const PGresult *, int, int) \
|
||||
X(PQgetResult, PGresult *, PGconn *) \
|
||||
X(PQgetvalue, char *, const PGresult *, int, int) \
|
||||
X(PQlibVersion, int, void) \
|
||||
X(PQnfields, int, const PGresult *) \
|
||||
X(PQnparams, int, const PGresult *) \
|
||||
X(PQntuples, int, const PGresult *) \
|
||||
X(PQparamtype, Oid, const PGresult *, int) \
|
||||
X(PQprepare, PGresult *, PGconn *, const char *, const char *, int, const Oid *) \
|
||||
X(PQpipelineSync, int, PGconn *) \
|
||||
X(PQresStatus, char *, ExecStatusType) \
|
||||
X(PQresultErrorField, char *, const PGresult *, int) \
|
||||
X(PQresultErrorMessage, char *, const PGresult *res) \
|
||||
X(PQresultErrorMessage, char *, const PGresult *) \
|
||||
X(PQresultStatus, ExecStatusType, const PGresult *) \
|
||||
X(PQresultVerboseErrorMessage, char *, const PGresult *, PGVerbosity, PGContextVisibility) \
|
||||
X(PQsendDescribePrepared, int, PGconn *, const char *) \
|
||||
X(PQsendPrepare, int, PGconn *, const char *, const char *, int, const Oid *) \
|
||||
X(PQserverVersion, int, const PGconn *) \
|
||||
X(PQstatus, ConnStatusType, const PGconn *) \
|
||||
X(PQtrace, void, PGconn *, FILE *) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue