pgx icon indicating copy to clipboard operation
pgx copied to clipboard

PostgreSQL driver and toolkit for Go

Results 137 pgx issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Recently we upgraded our software to pgx v5.5.5 and inmediately noticed that the number of Go routines our pods use is ever increasing. This is a screenshot...

bug

Hi, I am using `pgxpool` to manage DB connections to a PostgreSQL instance and have observed a very strange behavior after running a simple query on the DB: `pgx` is...

**Describe the bug** I'm trying to create Config by parsing empty conn string and getting auth error `failed to connect to 'host=localhost user=test database=test_namespace': failed SASL auth (FATAL: password authentication...

bug

**Describe the bug** In `pgx/v5`, you can no longer scan postgres `time` types into a `string`. While in a prior version, this was possible. **To Reproduce** In `pgx/v5` ```go package...

bug

**Is your feature request related to a problem? Please describe.** So I use nested transactions. And I would want that various parts of code do not have to compose well...

Existing generic helpers always call `defer rows.Close()`. Examples of their usage also omit external `defer rows.Close()` call. For clarity, state that explicitly, because that's another point why one would want...

This commit fixes the overlook of the #1886 where `QueuedQuery.SQL` and `QueuedQuery.Arguments` properties were exposed. And if for `SQL` and `Arguments` we had an opportunity to use reflection, for `QueuedQuery.fn`...

**Is your feature request related to a problem? Please describe.** We use `stdlib` pgx in our project. For unit tests we use [sqlmock](https://github.com/DATA-DOG/go-sqlmock) for unit tests. We want to migrate...

pq just added this feature https://github.com/lib/pq/pull/818/files and it would be really nice to have this here because in the containers world certs are usually passed to apps as environment variables....

The [v5 changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md#null-representation) mentions this: > Previously, a type that implemented driver.Valuer would have the Value method called even on a nil pointer. All nils whether typed or untyped now...

bug