Postgres specific connection data.
More...
#include <km_pg_con.h>
Data Fields
-
int affected_rows
- Number of rows affected by the last statement.
- PGconn * con
- this is the postgres connection
-
int connected
- connection status
-
unsigned int flags
- Flags (currently only binary data format).
-
db_pool_entry_t gen
- Generic part of the structure.
-
struct db_id * id
- Connection identifier.
-
struct pool_con * next
- Next connection in the pool.
-
pg_type_t * oid
- Data types and their Oids obtained from the server.
-
unsigned int ref
- Reference count.
-
PGresult * res
- this is the current result
-
char ** row
- Actual row in the result.
-
char * sqlurl
- the url we are connected to, all connection memory parents from this
-
time_t timestamp
- Timestamp of last query.
-
int transaction
- indicates whether a multi-query transaction is currently open
Detailed Description
A structure representing a connection to PostgreSQL server.
This structure represents connections to PostgreSQL servers. It contains PostgreSQL specific data, such as PostgreSQL connection handle, connection flags, and an array with data types supported by the server.
Definition at line 45 of file km_pg_con.h.
Field Documentation
The documentation for this struct was generated from the following files: