-
This my storage.go file
```go
package db
import (
"context"
"fmt"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
)
//Store provides all functions to execute db querie…
-
Using the getting start template, I encounter this error:
```
Unable to create SQL database. {"error": "plugin not supported: unknown plugin \"postgres\", supported plugins: [mysql8 postgres12 po…
-
Two problems with the new `jackc/pgx` drvier when working with pgBouncer:
Pgbouncer works with `SimpleQueryProtocol`, which can be solved by:
```go
config, err := pgx.ParseConfig(s.dsn)
conf…
-
Hi!
I am using the example `SortWorker` job with small adjustments to test longer-running jobs with cancellation but it does not seem to work.
```go
const SortJobKind = "sort"
type SortArgs …
-
**Describe the Bug**
This is a follow up to issue #563
Despite following the guidlines about how to import drivers from `database`, I seem to be hitting the same problem with an unknown import er…
-
**Describe the bug**
When setting `sslmode=disable` in the connection string, I still encounter an error related to TLS configuration. I am using PostgreSQL 16 with the standard Docker image. The err…
-
Hi, I was trying to use bob with pgx. When I try to fetch items from QueryContext it gave me this error
```
pq: unable to parse array; expected '{' at offset 0
```
I believe this is a problem wi…
-
Hey all 👋
## Problem
I hit a snag today when using pgx/v5.
I'm running into an issue where my postgres queries sometimes fail due to databases that I'm hitting live behind pgbouncer.
After some…
-
**Description**
pgx is a PostgreSQL driver and toolkit for Go. An SQL Injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An Integer Overflow in the …
-
I am using **pgx** together with jet, and currently to be able to scan rows into structs I have to use AS method and write all the columns instead of using _AllColumns_, example:
```
stmnt := Res…