diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 63711335..3c7b9aba 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,10 +1,9 @@ --- name: Bug report about: Create a report to help us improve -title: '' +title: "" labels: bug -assignees: '' - +assignees: "" --- **Describe the bug** @@ -23,7 +22,7 @@ import ( "log" "os" - "github.com/jackc/pgx/v5" + "github.com/andoma-go/pgx/v5" ) func main() { @@ -46,9 +45,10 @@ A clear and concise description of what you expected to happen. A clear and concise description of what actually happened. **Version** - - Go: `$ go version` -> [e.g. go version go1.18.3 darwin/amd64] - - PostgreSQL: `$ psql --no-psqlrc --tuples-only -c 'select version()'` -> [e.g. PostgreSQL 14.4 on x86_64-apple-darwin21.5.0, compiled by Apple clang version 13.1.6 (clang-1316.0.21.2.5), 64-bit] - - pgx: `$ grep 'github.com/jackc/pgx/v[0-9]' go.mod` -> [e.g. v4.16.1] + +- Go: `$ go version` -> [e.g. go version go1.18.3 darwin/amd64] +- PostgreSQL: `$ psql --no-psqlrc --tuples-only -c 'select version()'` -> [e.g. PostgreSQL 14.4 on x86_64-apple-darwin21.5.0, compiled by Apple clang version 13.1.6 (clang-1316.0.21.2.5), 64-bit] +- pgx: `$ grep 'github.com/andoma-go/pgx/v[0-9]' go.mod` -> [e.g. v4.16.1] **Additional context** Add any other context about the problem here. diff --git a/README.md b/README.md index 8b890836..780e70c6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[![Go Reference](https://pkg.go.dev/badge/github.com/jackc/pgx/v5.svg)](https://pkg.go.dev/github.com/jackc/pgx/v5) -[![Build Status](https://github.com/jackc/pgx/actions/workflows/ci.yml/badge.svg)](https://github.com/jackc/pgx/actions/workflows/ci.yml) +[![Go Reference](https://pkg.go.dev/badge/github.com/andoma-go/pgx/v5.svg)](https://pkg.go.dev/github.com/andoma-go/pgx/v5) +[![Build Status](https://github.com/andoma-go/pgx/actions/workflows/ci.yml/badge.svg)](https://github.com/andoma-go/pgx/actions/workflows/ci.yml) # pgx - PostgreSQL Driver and Toolkit @@ -22,7 +22,7 @@ import ( "fmt" "os" - "github.com/jackc/pgx/v5" + "github.com/andoma-go/pgx/v5" ) func main() { @@ -50,25 +50,25 @@ See the [getting started guide](https://github.com/jackc/pgx/wiki/Getting-starte ## Features -* Support for approximately 70 different PostgreSQL types -* Automatic statement preparation and caching -* Batch queries -* Single-round trip query mode -* Full TLS connection control -* Binary format support for custom types (allows for much quicker encoding/decoding) -* `COPY` protocol support for faster bulk data loads -* Tracing and logging support -* Connection pool with after-connect hook for arbitrary connection setup -* `LISTEN` / `NOTIFY` -* Conversion of PostgreSQL arrays to Go slice mappings for integers, floats, and strings -* `hstore` support -* `json` and `jsonb` support -* Maps `inet` and `cidr` PostgreSQL types to `netip.Addr` and `netip.Prefix` -* Large object support -* NULL mapping to pointer to pointer -* Supports `database/sql.Scanner` and `database/sql/driver.Valuer` interfaces for custom types -* Notice response handling -* Simulated nested transactions with savepoints +- Support for approximately 70 different PostgreSQL types +- Automatic statement preparation and caching +- Batch queries +- Single-round trip query mode +- Full TLS connection control +- Binary format support for custom types (allows for much quicker encoding/decoding) +- `COPY` protocol support for faster bulk data loads +- Tracing and logging support +- Connection pool with after-connect hook for arbitrary connection setup +- `LISTEN` / `NOTIFY` +- Conversion of PostgreSQL arrays to Go slice mappings for integers, floats, and strings +- `hstore` support +- `json` and `jsonb` support +- Maps `inet` and `cidr` PostgreSQL types to `netip.Addr` and `netip.Prefix` +- Large object support +- NULL mapping to pointer to pointer +- Supports `database/sql.Scanner` and `database/sql/driver.Valuer` interfaces for custom types +- Notice response handling +- Simulated nested transactions with savepoints ## Choosing Between the pgx and database/sql Interfaces @@ -118,26 +118,25 @@ pgerrcode contains constants for the PostgreSQL error codes. ## Adapters for 3rd Party Types -* [github.com/jackc/pgx-gofrs-uuid](https://github.com/jackc/pgx-gofrs-uuid) -* [github.com/jackc/pgx-shopspring-decimal](https://github.com/jackc/pgx-shopspring-decimal) -* [github.com/vgarvardt/pgx-google-uuid](https://github.com/vgarvardt/pgx-google-uuid) - +- [github.com/jackc/pgx-gofrs-uuid](https://github.com/jackc/pgx-gofrs-uuid) +- [github.com/jackc/pgx-shopspring-decimal](https://github.com/jackc/pgx-shopspring-decimal) +- [github.com/vgarvardt/pgx-google-uuid](https://github.com/vgarvardt/pgx-google-uuid) ## Adapters for 3rd Party Tracers -* [https://github.com/jackhopner/pgx-xray-tracer](https://github.com/jackhopner/pgx-xray-tracer) +- [https://github.com/jackhopner/pgx-xray-tracer](https://github.com/jackhopner/pgx-xray-tracer) ## Adapters for 3rd Party Loggers These adapters can be used with the tracelog package. -* [github.com/jackc/pgx-go-kit-log](https://github.com/jackc/pgx-go-kit-log) -* [github.com/jackc/pgx-log15](https://github.com/jackc/pgx-log15) -* [github.com/jackc/pgx-logrus](https://github.com/jackc/pgx-logrus) -* [github.com/jackc/pgx-zap](https://github.com/jackc/pgx-zap) -* [github.com/jackc/pgx-zerolog](https://github.com/jackc/pgx-zerolog) -* [github.com/mcosta74/pgx-slog](https://github.com/mcosta74/pgx-slog) -* [github.com/kataras/pgx-golog](https://github.com/kataras/pgx-golog) +- [github.com/jackc/pgx-go-kit-log](https://github.com/jackc/pgx-go-kit-log) +- [github.com/jackc/pgx-log15](https://github.com/jackc/pgx-log15) +- [github.com/jackc/pgx-logrus](https://github.com/jackc/pgx-logrus) +- [github.com/jackc/pgx-zap](https://github.com/jackc/pgx-zap) +- [github.com/jackc/pgx-zerolog](https://github.com/jackc/pgx-zerolog) +- [github.com/mcosta74/pgx-slog](https://github.com/mcosta74/pgx-slog) +- [github.com/kataras/pgx-golog](https://github.com/kataras/pgx-golog) ## 3rd Party Libraries with PGX Support diff --git a/batch.go b/batch.go index 9b943621..98dd2b25 100644 --- a/batch.go +++ b/batch.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgconn" ) // QueuedQuery is a query that has been queued for execution via a Batch. diff --git a/batch_test.go b/batch_test.go index 9ff2417f..6fd3d9bf 100644 --- a/batch_test.go +++ b/batch_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/bench_test.go b/bench_test.go index aa545172..c52ac991 100644 --- a/bench_test.go +++ b/bench_test.go @@ -12,9 +12,9 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgtype" "github.com/stretchr/testify/require" ) diff --git a/conn.go b/conn.go index 64ae48ca..7af8419a 100644 --- a/conn.go +++ b/conn.go @@ -10,11 +10,11 @@ import ( "strings" "time" - "github.com/jackc/pgx/v5/internal/anynil" - "github.com/jackc/pgx/v5/internal/sanitize" - "github.com/jackc/pgx/v5/internal/stmtcache" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/internal/anynil" + "github.com/andoma-go/pgx/v5/internal/sanitize" + "github.com/andoma-go/pgx/v5/internal/stmtcache" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgtype" ) // ConnConfig contains all the options used to establish a connection. It must be created by ParseConfig and diff --git a/conn_test.go b/conn_test.go index a7f7f2f8..3cf1b56b 100644 --- a/conn_test.go +++ b/conn_test.go @@ -9,10 +9,10 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/copy_from.go b/copy_from.go index abcd2239..947006e8 100644 --- a/copy_from.go +++ b/copy_from.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "github.com/jackc/pgx/v5/internal/pgio" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/pgconn" ) // CopyFromRows returns a CopyFromSource interface over the provided rows slice diff --git a/copy_from_test.go b/copy_from_test.go index 9da23c04..742c1b5b 100644 --- a/copy_from_test.go +++ b/copy_from_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/doc.go b/doc.go index db99fc4c..4356e8e3 100644 --- a/doc.go +++ b/doc.go @@ -2,7 +2,7 @@ /* pgx provides a native PostgreSQL driver and can act as a database/sql driver. The native PostgreSQL interface is similar to the database/sql interface while providing better speed and access to PostgreSQL specific features. Use -github.com/jackc/pgx/v5/stdlib to use pgx as a database/sql compatible driver. See that package's documentation for +github.com/andoma-go/pgx/v5/stdlib to use pgx as a database/sql compatible driver. See that package's documentation for details. Establishing a Connection @@ -18,7 +18,7 @@ here. In addition, a config struct can be created by [ParseConfig] and modified Connection Pool [*pgx.Conn] represents a single connection to the database and is not concurrency safe. Use package -github.com/jackc/pgx/v5/pgxpool for a concurrency safe connection pool. +github.com/andoma-go/pgx/v5/pgxpool for a concurrency safe connection pool. Query Interface @@ -178,11 +178,11 @@ pgx supports tracing by setting ConnConfig.Tracer. In addition, the tracelog package provides the TraceLog type which lets a traditional logger act as a Tracer. -For debug tracing of the actual PostgreSQL wire protocol messages see github.com/jackc/pgx/v5/pgproto3. +For debug tracing of the actual PostgreSQL wire protocol messages see github.com/andoma-go/pgx/v5/pgproto3. Lower Level PostgreSQL Functionality -github.com/jackc/pgx/v5/pgconn contains a lower level PostgreSQL driver roughly at the level of libpq. pgx.Conn in +github.com/andoma-go/pgx/v5/pgconn contains a lower level PostgreSQL driver roughly at the level of libpq. pgx.Conn in implemented on top of pgconn. The Conn.PgConn() method can be used to access this lower layer. PgBouncer diff --git a/examples/chat/main.go b/examples/chat/main.go index 5adbb3b6..35a6d8fa 100644 --- a/examples/chat/main.go +++ b/examples/chat/main.go @@ -6,7 +6,7 @@ import ( "fmt" "os" - "github.com/jackc/pgx/v5/pgxpool" + "github.com/andoma-go/pgx/v5/pgxpool" ) var pool *pgxpool.Pool diff --git a/examples/todo/README.md b/examples/todo/README.md index ecd2a3ca..e394513b 100644 --- a/examples/todo/README.md +++ b/examples/todo/README.md @@ -48,20 +48,20 @@ Or you can prefix the todo execution with the environment variables: # Example Setup and Execution - jack@hk-47~/dev/go/src/github.com/jackc/pgx/examples/todo$ createdb todo - jack@hk-47~/dev/go/src/github.com/jackc/pgx/examples/todo$ psql todo < structure.sql + jack@hk-47~/dev/go/src/github.com/andoma-go/pgx/examples/todo$ createdb todo + jack@hk-47~/dev/go/src/github.com/andoma-go/pgx/examples/todo$ psql todo < structure.sql Expanded display is used automatically. Timing is on. CREATE TABLE Time: 6.363 ms - jack@hk-47~/dev/go/src/github.com/jackc/pgx/examples/todo$ go build - jack@hk-47~/dev/go/src/github.com/jackc/pgx/examples/todo$ export PGDATABASE=todo - jack@hk-47~/dev/go/src/github.com/jackc/pgx/examples/todo$ ./todo list - jack@hk-47~/dev/go/src/github.com/jackc/pgx/examples/todo$ ./todo add 'Learn Go' - jack@hk-47~/dev/go/src/github.com/jackc/pgx/examples/todo$ ./todo list + jack@hk-47~/dev/go/src/github.com/andoma-go/pgx/examples/todo$ go build + jack@hk-47~/dev/go/src/github.com/andoma-go/pgx/examples/todo$ export PGDATABASE=todo + jack@hk-47~/dev/go/src/github.com/andoma-go/pgx/examples/todo$ ./todo list + jack@hk-47~/dev/go/src/github.com/andoma-go/pgx/examples/todo$ ./todo add 'Learn Go' + jack@hk-47~/dev/go/src/github.com/andoma-go/pgx/examples/todo$ ./todo list 1. Learn Go - jack@hk-47~/dev/go/src/github.com/jackc/pgx/examples/todo$ ./todo update 1 'Learn more Go' - jack@hk-47~/dev/go/src/github.com/jackc/pgx/examples/todo$ ./todo list + jack@hk-47~/dev/go/src/github.com/andoma-go/pgx/examples/todo$ ./todo update 1 'Learn more Go' + jack@hk-47~/dev/go/src/github.com/andoma-go/pgx/examples/todo$ ./todo list 1. Learn more Go - jack@hk-47~/dev/go/src/github.com/jackc/pgx/examples/todo$ ./todo remove 1 - jack@hk-47~/dev/go/src/github.com/jackc/pgx/examples/todo$ ./todo list + jack@hk-47~/dev/go/src/github.com/andoma-go/pgx/examples/todo$ ./todo remove 1 + jack@hk-47~/dev/go/src/github.com/andoma-go/pgx/examples/todo$ ./todo list diff --git a/examples/todo/main.go b/examples/todo/main.go index 6c644ede..6537a981 100644 --- a/examples/todo/main.go +++ b/examples/todo/main.go @@ -6,7 +6,7 @@ import ( "os" "strconv" - "github.com/jackc/pgx/v5" + "github.com/andoma-go/pgx/v5" ) var conn *pgx.Conn diff --git a/examples/url_shortener/main.go b/examples/url_shortener/main.go index 0887a019..03cd9e2c 100644 --- a/examples/url_shortener/main.go +++ b/examples/url_shortener/main.go @@ -7,8 +7,8 @@ import ( "net/http" "os" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgxpool" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgxpool" ) var db *pgxpool.Pool diff --git a/extended_query_builder.go b/extended_query_builder.go index 9c9de5b2..b8e16ac5 100644 --- a/extended_query_builder.go +++ b/extended_query_builder.go @@ -4,9 +4,9 @@ import ( "database/sql/driver" "fmt" - "github.com/jackc/pgx/v5/internal/anynil" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/internal/anynil" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgtype" ) // ExtendedQueryBuilder is used to choose the parameter formats, to format the parameters and to choose the result diff --git a/go.mod b/go.mod index c8430a41..4f6cf358 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/jackc/pgx/v5 +module github.com/andoma-go/pgx/v5 go 1.19 diff --git a/helper_test.go b/helper_test.go index c5b65076..5f29d067 100644 --- a/helper_test.go +++ b/helper_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/internal/iobufpool/iobufpool_test.go b/internal/iobufpool/iobufpool_test.go index a293f975..0e82d7a5 100644 --- a/internal/iobufpool/iobufpool_test.go +++ b/internal/iobufpool/iobufpool_test.go @@ -3,7 +3,7 @@ package iobufpool_test import ( "testing" - "github.com/jackc/pgx/v5/internal/iobufpool" + "github.com/andoma-go/pgx/v5/internal/iobufpool" "github.com/stretchr/testify/assert" ) diff --git a/internal/pgmock/pgmock.go b/internal/pgmock/pgmock.go index c82d7ffc..ce5cd163 100644 --- a/internal/pgmock/pgmock.go +++ b/internal/pgmock/pgmock.go @@ -6,7 +6,7 @@ import ( "io" "reflect" - "github.com/jackc/pgx/v5/pgproto3" + "github.com/andoma-go/pgx/v5/pgproto3" ) type Step interface { diff --git a/internal/pgmock/pgmock_test.go b/internal/pgmock/pgmock_test.go index 7bc2fdef..03939769 100644 --- a/internal/pgmock/pgmock_test.go +++ b/internal/pgmock/pgmock_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/internal/pgmock" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgproto3" + "github.com/andoma-go/pgx/v5/internal/pgmock" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgproto3" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/sanitize/sanitize_test.go b/internal/sanitize/sanitize_test.go index e2533aab..8dc40f69 100644 --- a/internal/sanitize/sanitize_test.go +++ b/internal/sanitize/sanitize_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/internal/sanitize" + "github.com/andoma-go/pgx/v5/internal/sanitize" ) func TestNewQuery(t *testing.T) { diff --git a/internal/stmtcache/lru_cache.go b/internal/stmtcache/lru_cache.go index 859345fc..1b29f89d 100644 --- a/internal/stmtcache/lru_cache.go +++ b/internal/stmtcache/lru_cache.go @@ -3,7 +3,7 @@ package stmtcache import ( "container/list" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgconn" ) // LRUCache implements Cache with a Least Recently Used (LRU) cache. diff --git a/internal/stmtcache/stmtcache.go b/internal/stmtcache/stmtcache.go index b2940e23..9fcc91c4 100644 --- a/internal/stmtcache/stmtcache.go +++ b/internal/stmtcache/stmtcache.go @@ -5,7 +5,7 @@ import ( "crypto/sha256" "encoding/hex" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgconn" ) // StatementName returns a statement name that will be stable for sql across multiple connections and program diff --git a/internal/stmtcache/unlimited_cache.go b/internal/stmtcache/unlimited_cache.go index f5f59396..fa633117 100644 --- a/internal/stmtcache/unlimited_cache.go +++ b/internal/stmtcache/unlimited_cache.go @@ -3,7 +3,7 @@ package stmtcache import ( "math" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgconn" ) // UnlimitedCache implements Cache with no capacity limit. diff --git a/large_objects_test.go b/large_objects_test.go index 25611bf6..cfc89bdc 100644 --- a/large_objects_test.go +++ b/large_objects_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestLargeObjects(t *testing.T) { diff --git a/log/testingadapter/adapter.go b/log/testingadapter/adapter.go index c901a6a6..87e731d9 100644 --- a/log/testingadapter/adapter.go +++ b/log/testingadapter/adapter.go @@ -6,7 +6,7 @@ import ( "context" "fmt" - "github.com/jackc/pgx/v5/tracelog" + "github.com/andoma-go/pgx/v5/tracelog" ) // TestingLogger interface defines the subset of testing.TB methods used by this diff --git a/named_args_test.go b/named_args_test.go index 49ac817d..3aa5e1da 100644 --- a/named_args_test.go +++ b/named_args_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5" + "github.com/andoma-go/pgx/v5" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pgbouncer_test.go b/pgbouncer_test.go index ac22b679..ada72938 100644 --- a/pgbouncer_test.go +++ b/pgbouncer_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/jackc/pgx/v5" + "github.com/andoma-go/pgx/v5" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pgconn/README.md b/pgconn/README.md index 1fe15c26..a74b69ea 100644 --- a/pgconn/README.md +++ b/pgconn/README.md @@ -1,7 +1,7 @@ # pgconn Package pgconn is a low-level PostgreSQL database driver. It operates at nearly the same level as the C library libpq. -It is primarily intended to serve as the foundation for higher level libraries such as https://github.com/jackc/pgx. +It is primarily intended to serve as the foundation for higher level libraries such as https://github.com/andoma-go/pgx. Applications should handle normal queries with a higher level library and only use pgconn directly when required for low-level access to PostgreSQL functionality. diff --git a/pgconn/auth_scram.go b/pgconn/auth_scram.go index 06498361..e3718bba 100644 --- a/pgconn/auth_scram.go +++ b/pgconn/auth_scram.go @@ -22,7 +22,7 @@ import ( "fmt" "strconv" - "github.com/jackc/pgx/v5/pgproto3" + "github.com/andoma-go/pgx/v5/pgproto3" "golang.org/x/crypto/pbkdf2" "golang.org/x/text/secure/precis" ) diff --git a/pgconn/benchmark_test.go b/pgconn/benchmark_test.go index 8998d0f6..380d117d 100644 --- a/pgconn/benchmark_test.go +++ b/pgconn/benchmark_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgconn" "github.com/stretchr/testify/require" ) diff --git a/pgconn/config.go b/pgconn/config.go index ddde89bd..5c3ba062 100644 --- a/pgconn/config.go +++ b/pgconn/config.go @@ -17,9 +17,9 @@ import ( "strings" "time" + "github.com/andoma-go/pgx/v5/pgproto3" "github.com/jackc/pgpassfile" "github.com/jackc/pgservicefile" - "github.com/jackc/pgx/v5/pgproto3" ) type AfterConnectFunc func(ctx context.Context, pgconn *PgConn) error diff --git a/pgconn/config_test.go b/pgconn/config_test.go index 99cc6e1a..608c40b7 100644 --- a/pgconn/config_test.go +++ b/pgconn/config_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgconn" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pgconn/errors_test.go b/pgconn/errors_test.go index 9d559346..afde636d 100644 --- a/pgconn/errors_test.go +++ b/pgconn/errors_test.go @@ -3,7 +3,7 @@ package pgconn_test import ( "testing" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgconn" "github.com/stretchr/testify/assert" ) diff --git a/pgconn/helper_test.go b/pgconn/helper_test.go index 1ab7579a..adb89866 100644 --- a/pgconn/helper_test.go +++ b/pgconn/helper_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgconn" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pgconn/internal/bgreader/bgreader.go b/pgconn/internal/bgreader/bgreader.go index e65c2c2b..d162e3cf 100644 --- a/pgconn/internal/bgreader/bgreader.go +++ b/pgconn/internal/bgreader/bgreader.go @@ -5,7 +5,7 @@ import ( "io" "sync" - "github.com/jackc/pgx/v5/internal/iobufpool" + "github.com/andoma-go/pgx/v5/internal/iobufpool" ) const ( diff --git a/pgconn/internal/bgreader/bgreader_test.go b/pgconn/internal/bgreader/bgreader_test.go index f787e2f1..7a832dd9 100644 --- a/pgconn/internal/bgreader/bgreader_test.go +++ b/pgconn/internal/bgreader/bgreader_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgconn/internal/bgreader" + "github.com/andoma-go/pgx/v5/pgconn/internal/bgreader" "github.com/stretchr/testify/require" ) diff --git a/pgconn/internal/ctxwatch/context_watcher_test.go b/pgconn/internal/ctxwatch/context_watcher_test.go index d62b97d3..81091c0f 100644 --- a/pgconn/internal/ctxwatch/context_watcher_test.go +++ b/pgconn/internal/ctxwatch/context_watcher_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgconn/internal/ctxwatch" + "github.com/andoma-go/pgx/v5/pgconn/internal/ctxwatch" "github.com/stretchr/testify/require" ) diff --git a/pgconn/krb5.go b/pgconn/krb5.go index 3c1af347..1856b0be 100644 --- a/pgconn/krb5.go +++ b/pgconn/krb5.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "github.com/jackc/pgx/v5/pgproto3" + "github.com/andoma-go/pgx/v5/pgproto3" ) // NewGSSFunc creates a GSS authentication provider, for use with diff --git a/pgconn/pgconn.go b/pgconn/pgconn.go index b287e020..2c7e1cba 100644 --- a/pgconn/pgconn.go +++ b/pgconn/pgconn.go @@ -16,11 +16,11 @@ import ( "sync" "time" - "github.com/jackc/pgx/v5/internal/iobufpool" - "github.com/jackc/pgx/v5/internal/pgio" - "github.com/jackc/pgx/v5/pgconn/internal/bgreader" - "github.com/jackc/pgx/v5/pgconn/internal/ctxwatch" - "github.com/jackc/pgx/v5/pgproto3" + "github.com/andoma-go/pgx/v5/internal/iobufpool" + "github.com/andoma-go/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/pgconn/internal/bgreader" + "github.com/andoma-go/pgx/v5/pgconn/internal/ctxwatch" + "github.com/andoma-go/pgx/v5/pgproto3" ) const ( diff --git a/pgconn/pgconn_stress_test.go b/pgconn/pgconn_stress_test.go index 1bfd9858..2aa3cf1b 100644 --- a/pgconn/pgconn_stress_test.go +++ b/pgconn/pgconn_stress_test.go @@ -8,7 +8,7 @@ import ( "strconv" "testing" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgconn" "github.com/stretchr/testify/require" ) diff --git a/pgconn/pgconn_test.go b/pgconn/pgconn_test.go index 7ca3992e..a4150e46 100644 --- a/pgconn/pgconn_test.go +++ b/pgconn/pgconn_test.go @@ -20,12 +20,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/internal/pgio" - "github.com/jackc/pgx/v5/internal/pgmock" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgproto3" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgmock" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgproto3" + "github.com/andoma-go/pgx/v5/pgtype" ) const pgbouncerConnStringEnvVar = "PGX_TEST_PGBOUNCER_CONN_STRING" diff --git a/pgproto3/authentication_cleartext_password.go b/pgproto3/authentication_cleartext_password.go index d8f98b9a..8fd8b1b6 100644 --- a/pgproto3/authentication_cleartext_password.go +++ b/pgproto3/authentication_cleartext_password.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) // AuthenticationCleartextPassword is a message sent from the backend indicating that a clear-text password is required. diff --git a/pgproto3/authentication_gss.go b/pgproto3/authentication_gss.go index 0d234222..f4187423 100644 --- a/pgproto3/authentication_gss.go +++ b/pgproto3/authentication_gss.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type AuthenticationGSS struct{} diff --git a/pgproto3/authentication_gss_continue.go b/pgproto3/authentication_gss_continue.go index 63789dc1..eb0d8b3d 100644 --- a/pgproto3/authentication_gss_continue.go +++ b/pgproto3/authentication_gss_continue.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type AuthenticationGSSContinue struct { diff --git a/pgproto3/authentication_md5_password.go b/pgproto3/authentication_md5_password.go index 5671c84c..30a1e5c9 100644 --- a/pgproto3/authentication_md5_password.go +++ b/pgproto3/authentication_md5_password.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) // AuthenticationMD5Password is a message sent from the backend indicating that an MD5 hashed password is required. diff --git a/pgproto3/authentication_ok.go b/pgproto3/authentication_ok.go index 88d648ae..fe3b77d6 100644 --- a/pgproto3/authentication_ok.go +++ b/pgproto3/authentication_ok.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) // AuthenticationOk is a message sent from the backend indicating that authentication was successful. diff --git a/pgproto3/authentication_sasl.go b/pgproto3/authentication_sasl.go index 59650d4c..e592cdf0 100644 --- a/pgproto3/authentication_sasl.go +++ b/pgproto3/authentication_sasl.go @@ -6,7 +6,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) // AuthenticationSASL is a message sent from the backend indicating that SASL authentication is required. diff --git a/pgproto3/authentication_sasl_continue.go b/pgproto3/authentication_sasl_continue.go index 2ce70a47..b9c2865d 100644 --- a/pgproto3/authentication_sasl_continue.go +++ b/pgproto3/authentication_sasl_continue.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) // AuthenticationSASLContinue is a message sent from the backend containing a SASL challenge. diff --git a/pgproto3/authentication_sasl_final.go b/pgproto3/authentication_sasl_final.go index a38a8b91..b55b8573 100644 --- a/pgproto3/authentication_sasl_final.go +++ b/pgproto3/authentication_sasl_final.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) // AuthenticationSASLFinal is a message sent from the backend indicating a SASL authentication has completed. diff --git a/pgproto3/backend_key_data.go b/pgproto3/backend_key_data.go index 12c60817..39e8cec6 100644 --- a/pgproto3/backend_key_data.go +++ b/pgproto3/backend_key_data.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type BackendKeyData struct { diff --git a/pgproto3/backend_test.go b/pgproto3/backend_test.go index 5655122a..b90bc573 100644 --- a/pgproto3/backend_test.go +++ b/pgproto3/backend_test.go @@ -4,8 +4,8 @@ import ( "io" "testing" - "github.com/jackc/pgx/v5/internal/pgio" - "github.com/jackc/pgx/v5/pgproto3" + "github.com/andoma-go/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/pgproto3" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pgproto3/bind.go b/pgproto3/bind.go index fdd2d3b8..c455b82c 100644 --- a/pgproto3/bind.go +++ b/pgproto3/bind.go @@ -7,7 +7,7 @@ import ( "encoding/json" "fmt" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type Bind struct { diff --git a/pgproto3/cancel_request.go b/pgproto3/cancel_request.go index 8fcf8217..273f3120 100644 --- a/pgproto3/cancel_request.go +++ b/pgproto3/cancel_request.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) const cancelRequestCode = 80877102 diff --git a/pgproto3/chunkreader.go b/pgproto3/chunkreader.go index fc0fa61e..f7613383 100644 --- a/pgproto3/chunkreader.go +++ b/pgproto3/chunkreader.go @@ -3,7 +3,7 @@ package pgproto3 import ( "io" - "github.com/jackc/pgx/v5/internal/iobufpool" + "github.com/andoma-go/pgx/v5/internal/iobufpool" ) // chunkReader is a io.Reader wrapper that minimizes IO reads and memory allocations. It allocates memory in chunks and diff --git a/pgproto3/close.go b/pgproto3/close.go index f99b5943..19b66c8e 100644 --- a/pgproto3/close.go +++ b/pgproto3/close.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type Close struct { diff --git a/pgproto3/command_complete.go b/pgproto3/command_complete.go index 814027ca..69bf880b 100644 --- a/pgproto3/command_complete.go +++ b/pgproto3/command_complete.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type CommandComplete struct { diff --git a/pgproto3/copy_both_response.go b/pgproto3/copy_both_response.go index 8840a89e..49615f0f 100644 --- a/pgproto3/copy_both_response.go +++ b/pgproto3/copy_both_response.go @@ -6,7 +6,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type CopyBothResponse struct { diff --git a/pgproto3/copy_both_response_test.go b/pgproto3/copy_both_response_test.go index 4437de1d..4855cd0d 100644 --- a/pgproto3/copy_both_response_test.go +++ b/pgproto3/copy_both_response_test.go @@ -3,7 +3,7 @@ package pgproto3_test import ( "testing" - "github.com/jackc/pgx/v5/pgproto3" + "github.com/andoma-go/pgx/v5/pgproto3" "github.com/stretchr/testify/assert" ) diff --git a/pgproto3/copy_data.go b/pgproto3/copy_data.go index 59e3dd94..5b3a574a 100644 --- a/pgproto3/copy_data.go +++ b/pgproto3/copy_data.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type CopyData struct { diff --git a/pgproto3/copy_fail.go b/pgproto3/copy_fail.go index 0041bbb1..ce79159e 100644 --- a/pgproto3/copy_fail.go +++ b/pgproto3/copy_fail.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type CopyFail struct { diff --git a/pgproto3/copy_in_response.go b/pgproto3/copy_in_response.go index 4584f7df..f36341c6 100644 --- a/pgproto3/copy_in_response.go +++ b/pgproto3/copy_in_response.go @@ -6,7 +6,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type CopyInResponse struct { diff --git a/pgproto3/copy_out_response.go b/pgproto3/copy_out_response.go index 3175c6a4..4767727a 100644 --- a/pgproto3/copy_out_response.go +++ b/pgproto3/copy_out_response.go @@ -6,7 +6,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type CopyOutResponse struct { diff --git a/pgproto3/data_row.go b/pgproto3/data_row.go index 4de77977..03acc622 100644 --- a/pgproto3/data_row.go +++ b/pgproto3/data_row.go @@ -5,7 +5,7 @@ import ( "encoding/hex" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type DataRow struct { diff --git a/pgproto3/describe.go b/pgproto3/describe.go index f131d1f4..ba2b1bc6 100644 --- a/pgproto3/describe.go +++ b/pgproto3/describe.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type Describe struct { diff --git a/pgproto3/example/pgfortune/server.go b/pgproto3/example/pgfortune/server.go index 14ae71f8..0168af87 100644 --- a/pgproto3/example/pgfortune/server.go +++ b/pgproto3/example/pgfortune/server.go @@ -4,7 +4,7 @@ import ( "fmt" "net" - "github.com/jackc/pgx/v5/pgproto3" + "github.com/andoma-go/pgx/v5/pgproto3" ) type PgFortuneBackend struct { diff --git a/pgproto3/execute.go b/pgproto3/execute.go index a5fee7cb..e49b053b 100644 --- a/pgproto3/execute.go +++ b/pgproto3/execute.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type Execute struct { diff --git a/pgproto3/frontend_test.go b/pgproto3/frontend_test.go index e02457d6..3f153d53 100644 --- a/pgproto3/frontend_test.go +++ b/pgproto3/frontend_test.go @@ -4,7 +4,7 @@ import ( "io" "testing" - "github.com/jackc/pgx/v5/pgproto3" + "github.com/andoma-go/pgx/v5/pgproto3" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pgproto3/function_call.go b/pgproto3/function_call.go index 2c4f38df..2ec68c1c 100644 --- a/pgproto3/function_call.go +++ b/pgproto3/function_call.go @@ -3,7 +3,7 @@ package pgproto3 import ( "encoding/binary" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type FunctionCall struct { diff --git a/pgproto3/function_call_response.go b/pgproto3/function_call_response.go index 3d3606dd..59a3567e 100644 --- a/pgproto3/function_call_response.go +++ b/pgproto3/function_call_response.go @@ -5,7 +5,7 @@ import ( "encoding/hex" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type FunctionCallResponse struct { diff --git a/pgproto3/fuzz_test.go b/pgproto3/fuzz_test.go index 332596ab..aa7214c1 100644 --- a/pgproto3/fuzz_test.go +++ b/pgproto3/fuzz_test.go @@ -4,8 +4,8 @@ import ( "bytes" "testing" - "github.com/jackc/pgx/v5/internal/pgio" - "github.com/jackc/pgx/v5/pgproto3" + "github.com/andoma-go/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/pgproto3" "github.com/stretchr/testify/require" ) diff --git a/pgproto3/gss_enc_request.go b/pgproto3/gss_enc_request.go index 30ffc08d..dce6f207 100644 --- a/pgproto3/gss_enc_request.go +++ b/pgproto3/gss_enc_request.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) const gssEncReqNumber = 80877104 diff --git a/pgproto3/gss_response.go b/pgproto3/gss_response.go index 64bfbd04..4d0a2e0b 100644 --- a/pgproto3/gss_response.go +++ b/pgproto3/gss_response.go @@ -3,7 +3,7 @@ package pgproto3 import ( "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type GSSResponse struct { diff --git a/pgproto3/notification_response.go b/pgproto3/notification_response.go index 228e0dac..881701a3 100644 --- a/pgproto3/notification_response.go +++ b/pgproto3/notification_response.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type NotificationResponse struct { diff --git a/pgproto3/parameter_description.go b/pgproto3/parameter_description.go index 374d38a3..b0828f8f 100644 --- a/pgproto3/parameter_description.go +++ b/pgproto3/parameter_description.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type ParameterDescription struct { diff --git a/pgproto3/parameter_status.go b/pgproto3/parameter_status.go index a303e453..3beb5df6 100644 --- a/pgproto3/parameter_status.go +++ b/pgproto3/parameter_status.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type ParameterStatus struct { diff --git a/pgproto3/parse.go b/pgproto3/parse.go index b53200dc..2a0580fc 100644 --- a/pgproto3/parse.go +++ b/pgproto3/parse.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type Parse struct { diff --git a/pgproto3/password_message.go b/pgproto3/password_message.go index 41f98692..a0a16fcb 100644 --- a/pgproto3/password_message.go +++ b/pgproto3/password_message.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type PasswordMessage struct { diff --git a/pgproto3/query.go b/pgproto3/query.go index e963a0ec..74a4a94d 100644 --- a/pgproto3/query.go +++ b/pgproto3/query.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type Query struct { diff --git a/pgproto3/row_description.go b/pgproto3/row_description.go index 6f6f0681..3b9c5e2b 100644 --- a/pgproto3/row_description.go +++ b/pgproto3/row_description.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) const ( diff --git a/pgproto3/sasl_initial_response.go b/pgproto3/sasl_initial_response.go index eeda4691..34aeb9db 100644 --- a/pgproto3/sasl_initial_response.go +++ b/pgproto3/sasl_initial_response.go @@ -6,7 +6,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type SASLInitialResponse struct { diff --git a/pgproto3/sasl_response.go b/pgproto3/sasl_response.go index 54c3d96f..8afab75f 100644 --- a/pgproto3/sasl_response.go +++ b/pgproto3/sasl_response.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "encoding/json" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type SASLResponse struct { diff --git a/pgproto3/ssl_request.go b/pgproto3/ssl_request.go index 1b00c16b..cdd37416 100644 --- a/pgproto3/ssl_request.go +++ b/pgproto3/ssl_request.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) const sslRequestNumber = 80877103 diff --git a/pgproto3/startup_message.go b/pgproto3/startup_message.go index 65de4a36..95bc67e3 100644 --- a/pgproto3/startup_message.go +++ b/pgproto3/startup_message.go @@ -7,7 +7,7 @@ import ( "errors" "fmt" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) const ProtocolVersionNumber = 196608 // 3.0 diff --git a/pgproto3/trace_test.go b/pgproto3/trace_test.go index c56a4991..a6e72e44 100644 --- a/pgproto3/trace_test.go +++ b/pgproto3/trace_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgproto3" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgproto3" "github.com/stretchr/testify/require" ) diff --git a/pgtype/array.go b/pgtype/array.go index 06b824ad..28abf56f 100644 --- a/pgtype/array.go +++ b/pgtype/array.go @@ -9,7 +9,7 @@ import ( "strings" "unicode" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) // Information on the internals of PostgreSQL arrays can be found in diff --git a/pgtype/array_codec.go b/pgtype/array_codec.go index c1863b32..3d3085c8 100644 --- a/pgtype/array_codec.go +++ b/pgtype/array_codec.go @@ -6,8 +6,8 @@ import ( "fmt" "reflect" - "github.com/jackc/pgx/v5/internal/anynil" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/anynil" + "github.com/andoma-go/pgx/v5/internal/pgio" ) // ArrayGetter is a type that can be converted into a PostgreSQL array. diff --git a/pgtype/array_codec_test.go b/pgtype/array_codec_test.go index 0bb83aa0..96182e20 100644 --- a/pgtype/array_codec_test.go +++ b/pgtype/array_codec_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pgtype/bits.go b/pgtype/bits.go index 30558118..76546b44 100644 --- a/pgtype/bits.go +++ b/pgtype/bits.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "fmt" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type BitsScanner interface { diff --git a/pgtype/bits_test.go b/pgtype/bits_test.go index d517df2b..85db229e 100644 --- a/pgtype/bits_test.go +++ b/pgtype/bits_test.go @@ -5,8 +5,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func isExpectedEqBits(a any) func(any) bool { diff --git a/pgtype/bool_test.go b/pgtype/bool_test.go index 7480471b..9dfbbda8 100644 --- a/pgtype/bool_test.go +++ b/pgtype/bool_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestBoolCodec(t *testing.T) { diff --git a/pgtype/box.go b/pgtype/box.go index 887d268b..041b5d7c 100644 --- a/pgtype/box.go +++ b/pgtype/box.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type BoxScanner interface { diff --git a/pgtype/box_test.go b/pgtype/box_test.go index 3b54c1f8..7145d7b7 100644 --- a/pgtype/box_test.go +++ b/pgtype/box_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestBoxCodec(t *testing.T) { diff --git a/pgtype/bytea_test.go b/pgtype/bytea_test.go index 4985e7a9..b4ed4d9d 100644 --- a/pgtype/bytea_test.go +++ b/pgtype/bytea_test.go @@ -6,9 +6,9 @@ import ( "fmt" "testing" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/pgtype/circle.go b/pgtype/circle.go index e8f118cc..e61681e8 100644 --- a/pgtype/circle.go +++ b/pgtype/circle.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type CircleScanner interface { diff --git a/pgtype/circle_test.go b/pgtype/circle_test.go index 7b6db777..c27ab12f 100644 --- a/pgtype/circle_test.go +++ b/pgtype/circle_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestCircleTranscode(t *testing.T) { diff --git a/pgtype/composite.go b/pgtype/composite.go index fb372325..6fd83476 100644 --- a/pgtype/composite.go +++ b/pgtype/composite.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) // CompositeIndexGetter is a type accessed by index that can be converted into a PostgreSQL composite. diff --git a/pgtype/composite_test.go b/pgtype/composite_test.go index a049b448..cb4cc770 100644 --- a/pgtype/composite_test.go +++ b/pgtype/composite_test.go @@ -5,8 +5,8 @@ import ( "fmt" "testing" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" "github.com/stretchr/testify/require" ) diff --git a/pgtype/date.go b/pgtype/date.go index 784b16de..da91a1ec 100644 --- a/pgtype/date.go +++ b/pgtype/date.go @@ -9,7 +9,7 @@ import ( "strconv" "time" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type DateScanner interface { diff --git a/pgtype/date_test.go b/pgtype/date_test.go index c7620fcf..fcea9b5c 100644 --- a/pgtype/date_test.go +++ b/pgtype/date_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/assert" ) diff --git a/pgtype/enum_codec_test.go b/pgtype/enum_codec_test.go index d064d49c..0ffb5ff8 100644 --- a/pgtype/enum_codec_test.go +++ b/pgtype/enum_codec_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - pgx "github.com/jackc/pgx/v5" + pgx "github.com/andoma-go/pgx/v5" "github.com/stretchr/testify/require" ) diff --git a/pgtype/example_child_records_test.go b/pgtype/example_child_records_test.go index 08d3c9e7..3f5ff30a 100644 --- a/pgtype/example_child_records_test.go +++ b/pgtype/example_child_records_test.go @@ -6,7 +6,7 @@ import ( "os" "time" - "github.com/jackc/pgx/v5" + "github.com/andoma-go/pgx/v5" ) type Player struct { diff --git a/pgtype/example_custom_type_test.go b/pgtype/example_custom_type_test.go index ceb9a0aa..26796b68 100644 --- a/pgtype/example_custom_type_test.go +++ b/pgtype/example_custom_type_test.go @@ -5,8 +5,8 @@ import ( "fmt" "os" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" ) // Point represents a point that may be null. diff --git a/pgtype/example_json_test.go b/pgtype/example_json_test.go index 98fb675a..e07387d0 100644 --- a/pgtype/example_json_test.go +++ b/pgtype/example_json_test.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "github.com/jackc/pgx/v5" + "github.com/andoma-go/pgx/v5" ) func Example_json() { diff --git a/pgtype/float4.go b/pgtype/float4.go index 91ca0147..04e5f61c 100644 --- a/pgtype/float4.go +++ b/pgtype/float4.go @@ -8,7 +8,7 @@ import ( "math" "strconv" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type Float4 struct { diff --git a/pgtype/float4_test.go b/pgtype/float4_test.go index bc74921c..905f23a7 100644 --- a/pgtype/float4_test.go +++ b/pgtype/float4_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestFloat4Codec(t *testing.T) { diff --git a/pgtype/float8.go b/pgtype/float8.go index 9c923c9a..ddf631c1 100644 --- a/pgtype/float8.go +++ b/pgtype/float8.go @@ -8,7 +8,7 @@ import ( "math" "strconv" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type Float64Scanner interface { diff --git a/pgtype/float8_test.go b/pgtype/float8_test.go index 64593d97..c5098f49 100644 --- a/pgtype/float8_test.go +++ b/pgtype/float8_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestFloat8Codec(t *testing.T) { diff --git a/pgtype/hstore.go b/pgtype/hstore.go index 2f34f4c9..d2026313 100644 --- a/pgtype/hstore.go +++ b/pgtype/hstore.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type HstoreScanner interface { diff --git a/pgtype/hstore_test.go b/pgtype/hstore_test.go index b16e363d..a9ac8b42 100644 --- a/pgtype/hstore_test.go +++ b/pgtype/hstore_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func isExpectedEqMapStringString(a any) func(any) bool { diff --git a/pgtype/inet_test.go b/pgtype/inet_test.go index f4b43daf..46ec74b5 100644 --- a/pgtype/inet_test.go +++ b/pgtype/inet_test.go @@ -6,7 +6,7 @@ import ( "net/netip" "testing" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgxtest" ) func isExpectedEqIPNet(a any) func(any) bool { diff --git a/pgtype/int.go b/pgtype/int.go index 90a20a26..9efa623a 100644 --- a/pgtype/int.go +++ b/pgtype/int.go @@ -9,7 +9,7 @@ import ( "math" "strconv" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type Int64Scanner interface { diff --git a/pgtype/int.go.erb b/pgtype/int.go.erb index e0c8b7a3..5d22ed58 100644 --- a/pgtype/int.go.erb +++ b/pgtype/int.go.erb @@ -8,7 +8,7 @@ import ( "math" "strconv" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type Int64Scanner interface { diff --git a/pgtype/int_test.go b/pgtype/int_test.go index 73294b3c..43e15efc 100644 --- a/pgtype/int_test.go +++ b/pgtype/int_test.go @@ -6,8 +6,8 @@ import ( "math" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestInt2Codec(t *testing.T) { diff --git a/pgtype/int_test.go.erb b/pgtype/int_test.go.erb index ac9a3f14..cae24718 100644 --- a/pgtype/int_test.go.erb +++ b/pgtype/int_test.go.erb @@ -4,7 +4,7 @@ import ( "math" "testing" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgtype" ) <% [2, 4, 8].each do |pg_byte_size| %> diff --git a/pgtype/integration_benchmark_test.go b/pgtype/integration_benchmark_test.go index 41e5f750..916fae82 100644 --- a/pgtype/integration_benchmark_test.go +++ b/pgtype/integration_benchmark_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" ) func BenchmarkQueryTextFormatDecode_PG_int4_to_Go_int16_1_rows_1_columns(b *testing.B) { diff --git a/pgtype/integration_benchmark_test.go.erb b/pgtype/integration_benchmark_test.go.erb index 0175700a..3c0a119c 100644 --- a/pgtype/integration_benchmark_test.go.erb +++ b/pgtype/integration_benchmark_test.go.erb @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype/testutil" - "github.com/jackc/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype/testutil" + "github.com/andoma-go/pgx/v5" ) <% diff --git a/pgtype/interval.go b/pgtype/interval.go index 21820938..9ec772ac 100644 --- a/pgtype/interval.go +++ b/pgtype/interval.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) const ( diff --git a/pgtype/interval_test.go b/pgtype/interval_test.go index 754c44e3..92e49018 100644 --- a/pgtype/interval_test.go +++ b/pgtype/interval_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestIntervalCodec(t *testing.T) { diff --git a/pgtype/json_test.go b/pgtype/json_test.go index 2474fd37..b72dea79 100644 --- a/pgtype/json_test.go +++ b/pgtype/json_test.go @@ -8,8 +8,8 @@ import ( "errors" "testing" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgxtest" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/pgtype/jsonb_test.go b/pgtype/jsonb_test.go index 5bfbdbe3..8803a5f4 100644 --- a/pgtype/jsonb_test.go +++ b/pgtype/jsonb_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgxtest" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/pgtype/line.go b/pgtype/line.go index 4ae8003e..2be595c3 100644 --- a/pgtype/line.go +++ b/pgtype/line.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type LineScanner interface { diff --git a/pgtype/line_test.go b/pgtype/line_test.go index dc980ce1..67b61aef 100644 --- a/pgtype/line_test.go +++ b/pgtype/line_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestLineTranscode(t *testing.T) { diff --git a/pgtype/lseg.go b/pgtype/lseg.go index 05a86e1c..2b5347e6 100644 --- a/pgtype/lseg.go +++ b/pgtype/lseg.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type LsegScanner interface { diff --git a/pgtype/lseg_test.go b/pgtype/lseg_test.go index 04fde0eb..2d50ee9d 100644 --- a/pgtype/lseg_test.go +++ b/pgtype/lseg_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestLsegTranscode(t *testing.T) { diff --git a/pgtype/macaddr_test.go b/pgtype/macaddr_test.go index 84cf970f..4b00890c 100644 --- a/pgtype/macaddr_test.go +++ b/pgtype/macaddr_test.go @@ -6,7 +6,7 @@ import ( "net" "testing" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgxtest" ) func isExpectedEqHardwareAddr(a any) func(any) bool { diff --git a/pgtype/multirange.go b/pgtype/multirange.go index e5763788..78898889 100644 --- a/pgtype/multirange.go +++ b/pgtype/multirange.go @@ -7,7 +7,7 @@ import ( "fmt" "reflect" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) // MultirangeGetter is a type that can be converted into a PostgreSQL multirange. diff --git a/pgtype/multirange_test.go b/pgtype/multirange_test.go index 77273e59..327a50de 100644 --- a/pgtype/multirange_test.go +++ b/pgtype/multirange_test.go @@ -5,9 +5,9 @@ import ( "reflect" "testing" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/pgtype/numeric.go b/pgtype/numeric.go index 4dbec786..2f809245 100644 --- a/pgtype/numeric.go +++ b/pgtype/numeric.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) // PostgreSQL internal numeric storage uses 16-bit "digits" with base of 10,000 diff --git a/pgtype/numeric_test.go b/pgtype/numeric_test.go index 691cc979..03abc138 100644 --- a/pgtype/numeric_test.go +++ b/pgtype/numeric_test.go @@ -10,9 +10,9 @@ import ( "strconv" "testing" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pgtype/path.go b/pgtype/path.go index 73e0ec52..0417ba98 100644 --- a/pgtype/path.go +++ b/pgtype/path.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type PathScanner interface { diff --git a/pgtype/path_test.go b/pgtype/path_test.go index cfffd22a..60f5764c 100644 --- a/pgtype/path_test.go +++ b/pgtype/path_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func isExpectedEqPath(a any) func(any) bool { diff --git a/pgtype/pgtype_test.go b/pgtype/pgtype_test.go index b6e3371f..eb1fa4e0 100644 --- a/pgtype/pgtype_test.go +++ b/pgtype/pgtype_test.go @@ -13,10 +13,10 @@ import ( "strconv" "testing" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" - _ "github.com/jackc/pgx/v5/stdlib" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" + _ "github.com/andoma-go/pgx/v5/stdlib" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pgtype/point.go b/pgtype/point.go index 09b19bb5..498568cd 100644 --- a/pgtype/point.go +++ b/pgtype/point.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type Vec2 struct { diff --git a/pgtype/point_test.go b/pgtype/point_test.go index 336f1a47..285f0f14 100644 --- a/pgtype/point_test.go +++ b/pgtype/point_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/pgtype/polygon.go b/pgtype/polygon.go index 04b0ba6b..d231a952 100644 --- a/pgtype/polygon.go +++ b/pgtype/polygon.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type PolygonScanner interface { diff --git a/pgtype/polygon_test.go b/pgtype/polygon_test.go index 5ddbc166..8f59a77f 100644 --- a/pgtype/polygon_test.go +++ b/pgtype/polygon_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func isExpectedEqPolygon(a any) func(any) bool { diff --git a/pgtype/qchar_test.go b/pgtype/qchar_test.go index da00b89e..fbdadee3 100644 --- a/pgtype/qchar_test.go +++ b/pgtype/qchar_test.go @@ -5,7 +5,7 @@ import ( "math" "testing" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestQcharTranscode(t *testing.T) { diff --git a/pgtype/range_codec.go b/pgtype/range_codec.go index 684f1bf7..4a5b9b00 100644 --- a/pgtype/range_codec.go +++ b/pgtype/range_codec.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "fmt" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) // RangeValuer is a type that can be converted into a PostgreSQL range. diff --git a/pgtype/range_codec_test.go b/pgtype/range_codec_test.go index c0628747..3b6a0892 100644 --- a/pgtype/range_codec_test.go +++ b/pgtype/range_codec_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/pgtype/record_codec_test.go b/pgtype/record_codec_test.go index 2189f99c..493a8d15 100644 --- a/pgtype/record_codec_test.go +++ b/pgtype/record_codec_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" "github.com/stretchr/testify/require" ) diff --git a/pgtype/text_test.go b/pgtype/text_test.go index eb5d005e..0ef3a2ff 100644 --- a/pgtype/text_test.go +++ b/pgtype/text_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/pgtype/tid.go b/pgtype/tid.go index 9bc2c2a1..aef864a0 100644 --- a/pgtype/tid.go +++ b/pgtype/tid.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type TIDScanner interface { diff --git a/pgtype/tid_test.go b/pgtype/tid_test.go index 3e7a1a50..b029e8c5 100644 --- a/pgtype/tid_test.go +++ b/pgtype/tid_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestTIDCodec(t *testing.T) { diff --git a/pgtype/time.go b/pgtype/time.go index 2eb6ace2..e161d826 100644 --- a/pgtype/time.go +++ b/pgtype/time.go @@ -6,7 +6,7 @@ import ( "fmt" "strconv" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type TimeScanner interface { diff --git a/pgtype/time_test.go b/pgtype/time_test.go index 01bcee0f..914349f7 100644 --- a/pgtype/time_test.go +++ b/pgtype/time_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestTimeCodec(t *testing.T) { diff --git a/pgtype/timestamp.go b/pgtype/timestamp.go index 35d73956..3196ecc7 100644 --- a/pgtype/timestamp.go +++ b/pgtype/timestamp.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) const pgTimestampFormat = "2006-01-02 15:04:05.999999999" diff --git a/pgtype/timestamp_test.go b/pgtype/timestamp_test.go index 24f229d5..a0a9d88b 100644 --- a/pgtype/timestamp_test.go +++ b/pgtype/timestamp_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/pgtype/timestamptz.go b/pgtype/timestamptz.go index f568fe30..4a624906 100644 --- a/pgtype/timestamptz.go +++ b/pgtype/timestamptz.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) const pgTimestamptzHourFormat = "2006-01-02 15:04:05.999999999Z07" diff --git a/pgtype/timestamptz_test.go b/pgtype/timestamptz_test.go index 0486ecdb..749af0eb 100644 --- a/pgtype/timestamptz_test.go +++ b/pgtype/timestamptz_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - pgx "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + pgx "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/pgtype/uint32.go b/pgtype/uint32.go index 098c516c..f74cf014 100644 --- a/pgtype/uint32.go +++ b/pgtype/uint32.go @@ -7,7 +7,7 @@ import ( "math" "strconv" - "github.com/jackc/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/internal/pgio" ) type Uint32Scanner interface { diff --git a/pgtype/uint32_test.go b/pgtype/uint32_test.go index 842de643..192dcce9 100644 --- a/pgtype/uint32_test.go +++ b/pgtype/uint32_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestUint32Codec(t *testing.T) { diff --git a/pgtype/uuid_test.go b/pgtype/uuid_test.go index 2dc258b1..9c6459c1 100644 --- a/pgtype/uuid_test.go +++ b/pgtype/uuid_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/pgtype/zeronull/float8.go b/pgtype/zeronull/float8.go index 08fa169e..e23cedc5 100644 --- a/pgtype/zeronull/float8.go +++ b/pgtype/zeronull/float8.go @@ -3,7 +3,7 @@ package zeronull import ( "database/sql/driver" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgtype" ) type Float8 float64 diff --git a/pgtype/zeronull/float8_test.go b/pgtype/zeronull/float8_test.go index b3c818aa..87b54546 100644 --- a/pgtype/zeronull/float8_test.go +++ b/pgtype/zeronull/float8_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype/zeronull" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype/zeronull" + "github.com/andoma-go/pgx/v5/pgxtest" ) func isExpectedEq(a any) func(any) bool { diff --git a/pgtype/zeronull/int.go b/pgtype/zeronull/int.go index 4fec8a1a..32b8b085 100644 --- a/pgtype/zeronull/int.go +++ b/pgtype/zeronull/int.go @@ -6,7 +6,7 @@ import ( "fmt" "math" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgtype" ) type Int2 int16 diff --git a/pgtype/zeronull/int.go.erb b/pgtype/zeronull/int.go.erb index b51cba12..028cc295 100644 --- a/pgtype/zeronull/int.go.erb +++ b/pgtype/zeronull/int.go.erb @@ -5,7 +5,7 @@ import ( "fmt" "math" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgtype" ) <% [2, 4, 8].each do |pg_byte_size| %> diff --git a/pgtype/zeronull/int_test.go b/pgtype/zeronull/int_test.go index 7204cc88..aa447083 100644 --- a/pgtype/zeronull/int_test.go +++ b/pgtype/zeronull/int_test.go @@ -5,8 +5,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype/zeronull" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype/zeronull" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestInt2Transcode(t *testing.T) { diff --git a/pgtype/zeronull/int_test.go.erb b/pgtype/zeronull/int_test.go.erb index c0f72ef4..37ae4b75 100644 --- a/pgtype/zeronull/int_test.go.erb +++ b/pgtype/zeronull/int_test.go.erb @@ -3,8 +3,8 @@ package zeronull_test import ( "testing" - "github.com/jackc/pgx/v5/pgtype/testutil" - "github.com/jackc/pgx/v5/pgtype/zeronull" + "github.com/andoma-go/pgx/v5/pgtype/testutil" + "github.com/andoma-go/pgx/v5/pgtype/zeronull" ) <% [2, 4, 8].each do |pg_byte_size| %> diff --git a/pgtype/zeronull/text.go b/pgtype/zeronull/text.go index 4ba51fa9..356f0480 100644 --- a/pgtype/zeronull/text.go +++ b/pgtype/zeronull/text.go @@ -3,7 +3,7 @@ package zeronull import ( "database/sql/driver" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgtype" ) type Text string diff --git a/pgtype/zeronull/text_test.go b/pgtype/zeronull/text_test.go index 5a60baf1..84d8e748 100644 --- a/pgtype/zeronull/text_test.go +++ b/pgtype/zeronull/text_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype/zeronull" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype/zeronull" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestTextTranscode(t *testing.T) { diff --git a/pgtype/zeronull/timestamp.go b/pgtype/zeronull/timestamp.go index 1697c420..f71c1d86 100644 --- a/pgtype/zeronull/timestamp.go +++ b/pgtype/zeronull/timestamp.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgtype" ) type Timestamp time.Time diff --git a/pgtype/zeronull/timestamp_test.go b/pgtype/zeronull/timestamp_test.go index 8a5a5796..eb4ae2c8 100644 --- a/pgtype/zeronull/timestamp_test.go +++ b/pgtype/zeronull/timestamp_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgtype/zeronull" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype/zeronull" + "github.com/andoma-go/pgx/v5/pgxtest" ) func isExpectedEqTimestamp(a any) func(any) bool { diff --git a/pgtype/zeronull/timestamptz.go b/pgtype/zeronull/timestamptz.go index f7ff19d2..bcd34b64 100644 --- a/pgtype/zeronull/timestamptz.go +++ b/pgtype/zeronull/timestamptz.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgtype" ) type Timestamptz time.Time diff --git a/pgtype/zeronull/timestamptz_test.go b/pgtype/zeronull/timestamptz_test.go index 0a6d380b..e7889370 100644 --- a/pgtype/zeronull/timestamptz_test.go +++ b/pgtype/zeronull/timestamptz_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgtype/zeronull" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype/zeronull" + "github.com/andoma-go/pgx/v5/pgxtest" ) func isExpectedEqTimestamptz(a any) func(any) bool { diff --git a/pgtype/zeronull/uuid.go b/pgtype/zeronull/uuid.go index d88be84d..2826840e 100644 --- a/pgtype/zeronull/uuid.go +++ b/pgtype/zeronull/uuid.go @@ -3,7 +3,7 @@ package zeronull import ( "database/sql/driver" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgtype" ) type UUID [16]byte diff --git a/pgtype/zeronull/uuid_test.go b/pgtype/zeronull/uuid_test.go index c50cb300..c95cb662 100644 --- a/pgtype/zeronull/uuid_test.go +++ b/pgtype/zeronull/uuid_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5/pgtype/zeronull" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/pgtype/zeronull" + "github.com/andoma-go/pgx/v5/pgxtest" ) func TestUUIDTranscode(t *testing.T) { diff --git a/pgtype/zeronull/zeronull.go b/pgtype/zeronull/zeronull.go index bba7b423..2faf10eb 100644 --- a/pgtype/zeronull/zeronull.go +++ b/pgtype/zeronull/zeronull.go @@ -1,7 +1,7 @@ package zeronull import ( - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgtype" ) // Register registers the zeronull types so they can be used in query exec modes that do not know the server OIDs. diff --git a/pgtype/zeronull/zeronull_test.go b/pgtype/zeronull/zeronull_test.go index 9ee45cb7..aa09ef1e 100644 --- a/pgtype/zeronull/zeronull_test.go +++ b/pgtype/zeronull/zeronull_test.go @@ -5,9 +5,9 @@ import ( "os" "testing" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgtype/zeronull" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgtype/zeronull" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/pgxpool/batch_results.go b/pgxpool/batch_results.go index 5d5c681d..7596686e 100644 --- a/pgxpool/batch_results.go +++ b/pgxpool/batch_results.go @@ -1,8 +1,8 @@ package pgxpool import ( - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" ) type errBatchResults struct { diff --git a/pgxpool/bench_test.go b/pgxpool/bench_test.go index c2d58a38..cc112209 100644 --- a/pgxpool/bench_test.go +++ b/pgxpool/bench_test.go @@ -5,8 +5,8 @@ import ( "os" "testing" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgxpool" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgxpool" "github.com/stretchr/testify/require" ) diff --git a/pgxpool/common_test.go b/pgxpool/common_test.go index b2797027..dd2428e9 100644 --- a/pgxpool/common_test.go +++ b/pgxpool/common_test.go @@ -5,10 +5,10 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgxpool" + "github.com/andoma-go/pgx/v5/pgxpool" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pgxpool/conn.go b/pgxpool/conn.go index 36f90969..c1cc83ac 100644 --- a/pgxpool/conn.go +++ b/pgxpool/conn.go @@ -4,8 +4,8 @@ import ( "context" "sync/atomic" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" "github.com/jackc/puddle/v2" ) diff --git a/pgxpool/conn_test.go b/pgxpool/conn_test.go index ce35c494..33eb3909 100644 --- a/pgxpool/conn_test.go +++ b/pgxpool/conn_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgxpool" + "github.com/andoma-go/pgx/v5/pgxpool" "github.com/stretchr/testify/require" ) diff --git a/pgxpool/pool.go b/pgxpool/pool.go index 9f74805e..9180e679 100644 --- a/pgxpool/pool.go +++ b/pgxpool/pool.go @@ -10,8 +10,8 @@ import ( "sync/atomic" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" "github.com/jackc/puddle/v2" ) diff --git a/pgxpool/pool_test.go b/pgxpool/pool_test.go index 90428931..810ccd9d 100644 --- a/pgxpool/pool_test.go +++ b/pgxpool/pool_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgxpool" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgxpool" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pgxpool/rows.go b/pgxpool/rows.go index f834b7ec..02ccaeac 100644 --- a/pgxpool/rows.go +++ b/pgxpool/rows.go @@ -1,8 +1,8 @@ package pgxpool import ( - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" ) type errRows struct { diff --git a/pgxpool/tx.go b/pgxpool/tx.go index 74df8593..bbff2fe3 100644 --- a/pgxpool/tx.go +++ b/pgxpool/tx.go @@ -3,8 +3,8 @@ package pgxpool import ( "context" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" ) // Tx represents a database transaction acquired from a Pool. diff --git a/pgxpool/tx_test.go b/pgxpool/tx_test.go index e1611e67..c329ebf1 100644 --- a/pgxpool/tx_test.go +++ b/pgxpool/tx_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5/pgxpool" + "github.com/andoma-go/pgx/v5/pgxpool" "github.com/stretchr/testify/require" ) diff --git a/pgxtest/pgxtest.go b/pgxtest/pgxtest.go index ece6d91b..ef526531 100644 --- a/pgxtest/pgxtest.go +++ b/pgxtest/pgxtest.go @@ -9,7 +9,7 @@ import ( "strconv" "testing" - "github.com/jackc/pgx/v5" + "github.com/andoma-go/pgx/v5" ) var AllQueryExecModes = []pgx.QueryExecMode{ diff --git a/pipeline_test.go b/pipeline_test.go index b8590bf9..52cf4839 100644 --- a/pipeline_test.go +++ b/pipeline_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" "github.com/stretchr/testify/require" ) diff --git a/query_test.go b/query_test.go index df044cde..e6109da2 100644 --- a/query_test.go +++ b/query_test.go @@ -12,10 +12,10 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/rows.go b/rows.go index 1ad91765..3395e445 100644 --- a/rows.go +++ b/rows.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgtype" ) // Rows is the result set returned from *Conn.Query. Rows must be closed before diff --git a/rows_test.go b/rows_test.go index 31bd8c83..2444e98d 100644 --- a/rows_test.go +++ b/rows_test.go @@ -11,9 +11,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgxtest" ) type testRowScanner struct { diff --git a/stdlib/sql.go b/stdlib/sql.go index 3d65e23a..9dbaebaa 100644 --- a/stdlib/sql.go +++ b/stdlib/sql.go @@ -80,10 +80,10 @@ import ( "sync" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxpool" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxpool" ) // Only intrinsic types should be binary format with database/sql. diff --git a/stdlib/sql_test.go b/stdlib/sql_test.go index 1e3db0d3..a9b223da 100644 --- a/stdlib/sql_test.go +++ b/stdlib/sql_test.go @@ -15,12 +15,12 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgtype" - "github.com/jackc/pgx/v5/pgxpool" - "github.com/jackc/pgx/v5/stdlib" - "github.com/jackc/pgx/v5/tracelog" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/pgxpool" + "github.com/andoma-go/pgx/v5/stdlib" + "github.com/andoma-go/pgx/v5/tracelog" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/tracelog/tracelog.go b/tracelog/tracelog.go index 78b15fbe..4982ca1f 100644 --- a/tracelog/tracelog.go +++ b/tracelog/tracelog.go @@ -9,7 +9,7 @@ import ( "time" "unicode/utf8" - "github.com/jackc/pgx/v5" + "github.com/andoma-go/pgx/v5" ) // LogLevel represents the pgx logging level. See LogLevel* constants for diff --git a/tracelog/tracelog_test.go b/tracelog/tracelog_test.go index 6812a97b..0df09b4c 100644 --- a/tracelog/tracelog_test.go +++ b/tracelog/tracelog_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgxtest" - "github.com/jackc/pgx/v5/tracelog" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5/tracelog" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/tracer.go b/tracer.go index 58ca99f7..6b7bd4d3 100644 --- a/tracer.go +++ b/tracer.go @@ -3,7 +3,7 @@ package pgx import ( "context" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgconn" ) // QueryTracer traces Query, QueryRow, and Exec. diff --git a/tracer_test.go b/tracer_test.go index a0fea71e..bdea04ba 100644 --- a/tracer_test.go +++ b/tracer_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/tx.go b/tx.go index 8feeb512..a53d39c5 100644 --- a/tx.go +++ b/tx.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgconn" ) // TxIsoLevel is the transaction isolation level (serializable, repeatable read, read committed or read uncommitted) diff --git a/tx_test.go b/tx_test.go index cd4fb207..ea7a79b5 100644 --- a/tx_test.go +++ b/tx_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgconn" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgconn" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/require" ) diff --git a/values.go b/values.go index 19c642fa..9b234bd6 100644 --- a/values.go +++ b/values.go @@ -3,9 +3,9 @@ package pgx import ( "errors" - "github.com/jackc/pgx/v5/internal/anynil" - "github.com/jackc/pgx/v5/internal/pgio" - "github.com/jackc/pgx/v5/pgtype" + "github.com/andoma-go/pgx/v5/internal/anynil" + "github.com/andoma-go/pgx/v5/internal/pgio" + "github.com/andoma-go/pgx/v5/pgtype" ) // PostgreSQL format codes diff --git a/values_test.go b/values_test.go index 5369b836..fe7bd7cf 100644 --- a/values_test.go +++ b/values_test.go @@ -10,8 +10,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v5" - "github.com/jackc/pgx/v5/pgxtest" + "github.com/andoma-go/pgx/v5" + "github.com/andoma-go/pgx/v5/pgxtest" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" )