summaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/pgx/v5/stdlib/sql.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/jackc/pgx/v5/stdlib/sql.go')
-rw-r--r--vendor/github.com/jackc/pgx/v5/stdlib/sql.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/vendor/github.com/jackc/pgx/v5/stdlib/sql.go b/vendor/github.com/jackc/pgx/v5/stdlib/sql.go
index 86a4c9320..3d65e23ad 100644
--- a/vendor/github.com/jackc/pgx/v5/stdlib/sql.go
+++ b/vendor/github.com/jackc/pgx/v5/stdlib/sql.go
@@ -21,10 +21,7 @@
// return err
// }
//
-// db, err := stdlib.OpenDBFromPool(pool)
-// if err != nil {
-// return err
-// }
+// db := stdlib.OpenDBFromPool(pool)
//
// Or a pgx.ConnConfig can be used to set configuration not accessible via connection string. In this case the
// pgx.ConnConfig must first be registered with the driver. This registration returns a connection string which is used