From 0c07df20b2152886b619741a471550e1c9682aa1 Mon Sep 17 00:00:00 2001 From: Jonathan Yoder Date: Thu, 15 Aug 2019 09:31:38 -0400 Subject: [PATCH] Clarify stdlib.AcquireConn Comment --- stdlib/sql.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/sql.go b/stdlib/sql.go index ca54a1da..78fac3cf 100644 --- a/stdlib/sql.go +++ b/stdlib/sql.go @@ -43,8 +43,8 @@ // // AcquireConn and ReleaseConn acquire and release a *pgx.Conn from the standard // database/sql.DB connection pool. This allows operations that must be -// performed on a single connection, but should not be run in a transaction or -// to use pgx specific functionality. +// performed on a single connection without running in a transaction, and it +// supports operations that use pgx specific functionality. // // conn, err := stdlib.AcquireConn(db) // if err != nil {