Results 24 issues of Jack Christensen

When multiple hosts are specified, libpq allows them to have different passwords set via the .pgpass file. pgconn should match this behavior.

This setting allows configuring the `time.Location` of `time.Time` values scanned from PostgreSQL `timestamp` and `timestamptz`. For `timestamptz` it changes the display location but the instant in time is unchanged. That...

Sometimes it is useful to attach an arbitrary value to a connection. I believe this has previously been indirectly requested multiple times, but at the moment I am unable to...

RFC

Unlike regular queries the copy protocol requires all values be formatted in binary or text. It does not allow some types formatted as text and some as binary. `CopyFrom()` currently...

enhancement
v5

Allow customizing context canceled behavior for pgconn. This allows alternative behavior to simply closing a connection with a deadline. DeadlineContextWatcherHandler allows granting a grace period before closing the connection. CancelRequestContextWatcherHandler...

stdlib can now directly scan into anything pgx can scan such as Go slices. This requires the change to database/sql implemented by https://github.com/golang/go/pull/67648. If this PR is accepted it will...

### Proposal Details I am the creator of the https://github.com/jackc/pgx/ PostgreSQL driver. pgx implements a very flexible and convenient type system for its native interface. Most types "just work" without...

Proposal
Proposal-Accepted
release-blocker

I have a pg_service.conf file with an entry like this: ``` [my-service] host=example.com port=25060 dbname=mydb user=myuser sslmode=require ``` I have an environment variable set: ``` export PGPORT=5020 ``` psql successfully...

https://github.com/golang/go/issues/67546 has now been implemented and merged into Go master. As of f6980e4b4bcb7f974f4b3ccf6ee4541a37c2778b, pgx has implemented and merged support for the `driver.RowsColumnScanner` interface. These changes allow pgx to directly control...