PgConn returns the underlying *pgconn.PgConn. This is an escape hatch method that allows lower level access to the PostgreSQL connection than pgx exposes. It is strongly recommended that the connection be idle (no in-progress queries) before the underlying *pgconn.PgConn is used and the connection
()
| 460 | // It is strongly recommended that the connection be idle (no in-progress queries) before the underlying *pgconn.PgConn |
| 461 | // is used and the connection must be returned to the same state before any *pgx.Conn methods are again used. |
| 462 | func (c *Conn) PgConn() *pgconn.PgConn { return c.pgConn } |
| 463 | |
| 464 | // TypeMap returns the connection info used for this connection. |
| 465 | func (c *Conn) TypeMap() *pgtype.Map { return c.typeMap } |
no outgoing calls