summaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/pgx/v5/stdlib/sql.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-01-15 14:02:02 +0100
committerLibravatar GitHub <noreply@github.com>2024-01-15 14:02:02 +0100
commit637a57f2deb099d4be8b369f817a886642df79a6 (patch)
tree149d45ef15407570f2bd8af6cb4d4f4f6f8c62b9 /vendor/github.com/jackc/pgx/v5/stdlib/sql.go
parent[chore]: Bump golang.org/x/net from 0.19.0 to 0.20.0 (#2533) (diff)
downloadgotosocial-637a57f2deb099d4be8b369f817a886642df79a6.tar.xz
[chore]: Bump github.com/jackc/pgx/v5 from 5.5.1 to 5.5.2 (#2532)
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.5.1 to 5.5.2. - [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v5.5.1...v5.5.2) --- updated-dependencies: - dependency-name: github.com/jackc/pgx/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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