|
PostgreSQL Source Code git master
|
#include "libpq-fe.h"

Go to the source code of this file.
Data Structures | |
| struct | PGEventRegister |
| struct | PGEventConnReset |
| struct | PGEventConnDestroy |
| struct | PGEventResultCreate |
| struct | PGEventResultCopy |
| struct | PGEventResultDestroy |
Typedefs | |
| typedef int(* | PGEventProc) (PGEventId evtId, void *evtInfo, void *passThrough) |
Enumerations | |
| enum | PGEventId { PGEVT_REGISTER , PGEVT_CONNRESET , PGEVT_CONNDESTROY , PGEVT_RESULTCREATE , PGEVT_RESULTCOPY , PGEVT_RESULTDESTROY } |
Functions | |
| int | PQregisterEventProc (PGconn *conn, PGEventProc proc, const char *name, void *passThrough) |
| int | PQsetInstanceData (PGconn *conn, PGEventProc proc, void *data) |
| void * | PQinstanceData (const PGconn *conn, PGEventProc proc) |
| int | PQresultSetInstanceData (PGresult *result, PGEventProc proc, void *data) |
| void * | PQresultInstanceData (const PGresult *result, PGEventProc proc) |
| int | PQfireResultCreateEvents (PGconn *conn, PGresult *res) |
Definition at line 69 of file libpq-events.h.
| Enumerator | |
|---|---|
| PGEVT_REGISTER | |
| PGEVT_CONNRESET | |
| PGEVT_CONNDESTROY | |
| PGEVT_RESULTCREATE | |
| PGEVT_RESULTCOPY | |
| PGEVT_RESULTDESTROY | |
Definition at line 27 of file libpq-events.h.
Definition at line 185 of file libpq-events.c.
References conn, PGEventResultCreate::conn, pg_result::events, fb(), i, pg_result::nEvents, PGEvent::passThrough, PGEVT_RESULTCREATE, PGEvent::proc, pg_conn::result, and PGEvent::resultInitialized.
Referenced by PQgetResult().
|
extern |
Definition at line 121 of file libpq-events.c.
References conn, PGEvent::data, pg_conn::events, fb(), i, pg_conn::nEvents, and PGEvent::proc.
|
extern |
Definition at line 40 of file libpq-events.c.
References conn, PGEvent::data, pg_conn::eventArraySize, pg_conn::events, fb(), free, i, malloc, name, PGEvent::name, pg_conn::nEvents, PGEvent::passThrough, PGEVT_REGISTER, PGEvent::proc, realloc, and PGEvent::resultInitialized.
|
extern |
Definition at line 165 of file libpq-events.c.
References PGEvent::data, pg_result::events, fb(), i, pg_result::nEvents, and PGEvent::proc.
|
extern |
Definition at line 142 of file libpq-events.c.
References PGEvent::data, data, pg_result::events, i, pg_result::nEvents, and PGEvent::proc.
|
extern |
Definition at line 98 of file libpq-events.c.
References conn, PGEvent::data, data, pg_conn::events, i, pg_conn::nEvents, and PGEvent::proc.