PostgreSQL Tcl Interface Documentation | ||||
---|---|---|---|---|
Prev | Fast Backward | Fast Forward | Next |
extern PGconn *PgGetConnectionId(Tcl_Interp *interp, const char *handle, Pg_ConnectionId **connid);
PgGetConnectionId
returns the underlying PGconn handle. This is intended to allow Tcl extensions to Pgtcl to use the existing database connection.
The Pg_ConnectionId structure provides access to more internals of the Pgtcl handle, but may be ignored in most cases.