From 4739f79fca82f5461411d1df7ef984143125c403 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 23 Jul 2022 09:42:46 -0500 Subject: [PATCH] More doc tweaks --- doc.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc.go b/doc.go index 4cd3861b..9f3f9774 100644 --- a/doc.go +++ b/doc.go @@ -17,8 +17,8 @@ here. In addition, a config struct can be created by `ParseConfig` and modified Connection Pool -`*pgx.Conn` represents a single connection to the database and is not concurrency safe. Use sub-package pgxpool for a -concurrency safe connection pool. +`*pgx.Conn` represents a single connection to the database and is not concurrency safe. Use package +github.com/jackc/pgx/v5/pgxpool for a concurrency safe connection pool. 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. +For debug tracing of the actual PostgreSQL wire protocol messages see github.com/jackc/pgx/v5/pgproto3. + 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 -used to access this lower layer. +github.com/jackc/pgx/v5/pgconn contains a lower level PostgreSQL driver roughly at the level of libpq. pgx.Conn in +implemented on top of pgconn. The Conn.PgConn() method can be used to access this lower layer. PgBouncer