mirror of https://github.com/jackc/pgx.git
More doc tweaks
parent
3595561d9a
commit
4739f79fca
10
doc.go
10
doc.go
|
@ -17,8 +17,8 @@ here. In addition, a config struct can be created by `ParseConfig` and modified
|
||||||
|
|
||||||
Connection Pool
|
Connection Pool
|
||||||
|
|
||||||
`*pgx.Conn` represents a single connection to the database and is not concurrency safe. Use sub-package pgxpool for a
|
`*pgx.Conn` represents a single connection to the database and is not concurrency safe. Use package
|
||||||
concurrency safe connection pool.
|
github.com/jackc/pgx/v5/pgxpool for a concurrency safe connection pool.
|
||||||
|
|
||||||
Query Interface
|
Query Interface
|
||||||
|
|
||||||
|
@ -174,10 +174,12 @@ pgx supports tracing by setting ConnConfig.Tracer.
|
||||||
|
|
||||||
In addition, the tracelog package provides the TraceLog type which lets a traditional logger act as a Tracer.
|
In addition, the tracelog package provides the TraceLog type which lets a traditional logger act as a Tracer.
|
||||||
|
|
||||||
|
For debug tracing of the actual PostgreSQL wire protocol messages see github.com/jackc/pgx/v5/pgproto3.
|
||||||
|
|
||||||
Lower Level PostgreSQL Functionality
|
Lower Level PostgreSQL Functionality
|
||||||
|
|
||||||
pgx is implemented on top of github.com/jackc/pgconn a lower level PostgreSQL driver. The Conn.PgConn() method can be
|
github.com/jackc/pgx/v5/pgconn contains a lower level PostgreSQL driver roughly at the level of libpq. pgx.Conn in
|
||||||
used to access this lower layer.
|
implemented on top of pgconn. The Conn.PgConn() method can be used to access this lower layer.
|
||||||
|
|
||||||
PgBouncer
|
PgBouncer
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue