'defines' |
#define | PGRESULT_DATA_BLOCKSIZE 2048 |
#define | PGRESULT_ALIGN_BOUNDARY MAXIMUM_ALIGNOF |
#define | PGRESULT_BLOCK_OVERHEAD Max(sizeof(PGresult_data), PGRESULT_ALIGN_BOUNDARY) |
#define | PGRESULT_SEP_ALLOC_THRESHOLD (PGRESULT_DATA_BLOCKSIZE / 2) |
#define | ISFIRSTOCTDIGIT(CH) ((CH) >= '0' && (CH) <= '3') |
#define | ISOCTDIGIT(CH) ((CH) >= '0' && (CH) <= '7') |
#define | OCTVAL(CH) ((CH) - '0') |
Funciones |
PGresult * | PQmakeEmptyPGresult (PGconn *conn, ExecStatusType status) |
void * | pqResultAlloc (PGresult *res, size_t nBytes, bool isBinary) |
char * | pqResultStrdup (PGresult *res, const char *str) |
void | pqSetResultError (PGresult *res, const char *msg) |
void | pqCatenateResultError (PGresult *res, const char *msg) |
void | PQclear (PGresult *res) |
void | pqClearAsyncResult (PGconn *conn) |
void | pqSaveErrorResult (PGconn *conn) |
PGresult * | pqPrepareAsyncResult (PGconn *conn) |
void | pqInternalNotice (const PGNoticeHooks *hooks, const char *fmt,...) |
int | pqAddTuple (PGresult *res, PGresAttValue *tup) |
void | pqSaveMessageField (PGresult *res, char code, const char *value) |
void | pqSaveParameterStatus (PGconn *conn, const char *name, const char *value) |
int | PQsendQuery (PGconn *conn, const char *query) |
int | PQsendQueryParams (PGconn *conn, const char *command, int nParams, const Oid *paramTypes, const char *const *paramValues, const int *paramLengths, const int *paramFormats, int resultFormat) |
int | PQsendPrepare (PGconn *conn, const char *stmtName, const char *query, int nParams, const Oid *paramTypes) |
int | PQsendQueryPrepared (PGconn *conn, const char *stmtName, int nParams, const char *const *paramValues, const int *paramLengths, const int *paramFormats, int resultFormat) |
void | pqHandleSendFailure (PGconn *conn) |
int | PQconsumeInput (PGconn *conn) |
int | PQisBusy (PGconn *conn) |
PGresult * | PQgetResult (PGconn *conn) |
PGresult * | PQexec (PGconn *conn, const char *query) |
PGresult * | PQexecParams (PGconn *conn, const char *command, int nParams, const Oid *paramTypes, const char *const *paramValues, const int *paramLengths, const int *paramFormats, int resultFormat) |
PGresult * | PQprepare (PGconn *conn, const char *stmtName, const char *query, int nParams, const Oid *paramTypes) |
PGresult * | PQexecPrepared (PGconn *conn, const char *stmtName, int nParams, const char *const *paramValues, const int *paramLengths, const int *paramFormats, int resultFormat) |
PGnotify * | PQnotifies (PGconn *conn) |
int | PQputCopyData (PGconn *conn, const char *buffer, int nbytes) |
int | PQputCopyEnd (PGconn *conn, const char *errormsg) |
int | PQgetCopyData (PGconn *conn, char **buffer, int async) |
int | PQgetline (PGconn *conn, char *s, int maxlen) |
int | PQgetlineAsync (PGconn *conn, char *buffer, int bufsize) |
int | PQputline (PGconn *conn, const char *s) |
int | PQputnbytes (PGconn *conn, const char *buffer, int nbytes) |
int | PQendcopy (PGconn *conn) |
PGresult * | PQfn (PGconn *conn, int fnid, int *result_buf, int *actual_result_len, int result_is_int, const PQArgBlock *args, int nargs) |
ExecStatusType | PQresultStatus (const PGresult *res) |
char * | PQresStatus (ExecStatusType status) |
char * | PQresultErrorMessage (const PGresult *res) |
char * | PQresultErrorField (const PGresult *res, int fieldcode) |
int | PQntuples (const PGresult *res) |
int | PQnfields (const PGresult *res) |
int | PQbinaryTuples (const PGresult *res) |
char * | PQfname (const PGresult *res, int field_num) |
int | PQfnumber (const PGresult *res, const char *field_name) |
Oid | PQftable (const PGresult *res, int field_num) |
int | PQftablecol (const PGresult *res, int field_num) |
int | PQfformat (const PGresult *res, int field_num) |
Oid | PQftype (const PGresult *res, int field_num) |
int | PQfsize (const PGresult *res, int field_num) |
int | PQfmod (const PGresult *res, int field_num) |
char * | PQcmdStatus (PGresult *res) |
char * | PQoidStatus (const PGresult *res) |
Oid | PQoidValue (const PGresult *res) |
char * | PQcmdTuples (PGresult *res) |
char * | PQgetvalue (const PGresult *res, int tup_num, int field_num) |
int | PQgetlength (const PGresult *res, int tup_num, int field_num) |
int | PQgetisnull (const PGresult *res, int tup_num, int field_num) |
int | PQsetnonblocking (PGconn *conn, int arg) |
int | PQisnonblocking (const PGconn *conn) |
int | PQflush (PGconn *conn) |
void | PQfreemem (void *ptr) |
void | PQfreeNotify (PGnotify *notify) |
size_t | PQescapeStringConn (PGconn *conn, char *to, const char *from, size_t length, int *error) |
size_t | PQescapeString (char *to, const char *from, size_t length) |
unsigned char * | PQescapeByteaConn (PGconn *conn, const unsigned char *from, size_t from_length, size_t *to_length) |
unsigned char * | PQescapeBytea (const unsigned char *from, size_t from_length, size_t *to_length) |
unsigned char * | PQunescapeBytea (const unsigned char *strtext, size_t *retbuflen) |
Variables |
char *const | pgresStatus [] |