mirror of
https://github.com/hanzoai/migrate.git
synced 2026-09-30 22:55:10 +00:00
* replace lib/pq dependency with pgx in postgres driver * fix pgx error handling pgconn is a low-level library, and errors from queries flow through higher-level pgx library * update postgres tests to use pgx driver and error reporting * update quoteIdentifier implementation to match lib/pq * move changes for pgx support into new driver package * add pgx driver to CLI * restore examples used in testing for pgx driver * replace postgres driver name with pgx in DSN in tests and docs * consolidate connection string formatting in pgx testing * lock pgx package at v4 Prior to v4, pgx did not support go modules. Version locking the import is the safest way to ensure we get the (as of now) latest version of the module. Additionally v4 implements some breaking changes to connection and error handling, which are also addressed in this commit. * update parsed URL scheme instead of using string operation * add pgx for builds using make * add pgx to top level docs * remove autogenerated TOC