-
**Describe the bug**
I am using protobuf generated structures, and it does not have time.Time type. However it have string type, which is sufficient for my goals. But library does not allow to scan t…
-
**Describe the bug**
Library panics on scanning to []CustomType
**To Reproduce**
```go
package main
import (
"context"
"github.com/jackc/pgx/v4/pgxpool"
)
type Int64 int64
func mai…
-
In the database/sql library, we have the waitCount statistic to get the total number of connections waited for. How can I obtain this statistic in pgx? In the stat() function of pgx, there is no funct…
-
**Describe the bug**
I have two parts of my codebase that crash when I use a transaction and call SendBatch(). The transaction comes from a `pgxpool.Pool`.
One is a query and another is a batch…
-
### Version
1.24.0
### What happened?
Multiple fields with the same name are generated
_It will work correctly if you use enumerations ($1, $2, etc.) or sqlc.arg(number)_
### Relevant log outpu…
-
`pgx` should be able to handle user defined types (such as those defined via `CREATE TYPE...`) in function argument and return value position.
Since user defined types can be created, removed, or a…
-
- [x] The issue is present in the latest release.
- [x] I have searched the [issues](https://github.com/ent/ent/issues) of this repository and believe that this is not a duplicate.
## Current Beha…
-
```
type Time time.Time
type Type interface {
fmt.Stringer
json.Marshaler
json.Unmarshaler
sql.Scanner
driver.Valuer
schema.GormDataTypeInterface
}
// Implemented these interfa…
kayon updated
8 months ago
-
**Describe the bug**
A clear and concise description of what the bug is.
Hi,
I was previously using `v4` and `pgtype.TextArray` through standard driver connection (cf https://github.com/jackc/pgx…
-
In https://github.com/tcdi/pgx/pull/793#issuecomment-1285718887 I wanted to do
```rs
#[pgx_macros::pg_guard]
extern "C" {
#[link_name = "pgx_SpinLockInit"]
pub fn SpinLoc…