- Fixed local destination detection when no host present with pg 1.6+
- Added Docker image for
linux/arm64 - Fixed warning with Ruby 3.3
- Dropped support for Ruby < 2.7
- Fixed issue with slop 4.10.0
- Fixed issue with pg 1.4.4
- Fixed output when
pg_restorenot found
- Improved error message when a primary key is required
- Switched to monotonic time
- Fixed schema sync with Homebrew Postgres 14.5
- Fixed random letter data rule generating non-letter
- Changed
--defer-constraintsto--defer-constraints-v1 - Changed
--defer-constraints-v2to--defer-constraints - Fixed unknown alias error with Ruby 3.1
- Dropped support for Ruby < 2.5
- Fixed error when schema missing in destination with
--schema-firstand--schema-only
- Fixed connection security for
--schema-firstand--schema-only- more info
- Added support for tables with generated columns
- Improved help
- Log SQL with
--debugoption - Improved sequence queries
- Added
--defer-constraints-v2option - Ensure consistent source snapshot with
--disable-integrity
- Added support for
--disable-integrityon Amazon RDS - Fixed error when excluded table not found in source
- Added Django and Laravel integrations
- Added messages for different column types and non-deferrable constraints
- Added support for wildcards to
--exclude - Improved
--overwriteand--preserveoptions for foreign keys - Improved output for schema sync
- Fixed
--overwriteand--preserveoptions for multicolumn primary keys - Fixed output for notices
Breaking
- Syncs shared tables instead of raising an error when tables missing in destination
- Raise an error when
--configor--dboption provided and config not found - Removed deprecated options
- Dropped support for Postgres < 9.5
- Added
--jobsoption - Added
--defer-constraintsoption - Added
--disable-user-triggersoption - Added
--disable-integrityoption - Improved error message for older libpq
- Fixed output for
--in-batches
- Improved Postgres error messages
- Fixed behavior of wildcard without schema
- Added
--fail-fastoption - Automatically exclude tables when
--initrun inside Rails app - Improved error message
- Fixed typo in error message
- Fixed Slop warning with Ruby 2.7
- Improved output when syncing
- Improved output on interrupt
- Added
--no-sequencesoption
- Added
sslmodeto template
- Improved flexibility of commands
- Sync all objects when no tables specified
- Made
psqlversion check more robust - Fixed issue with non-lowercase primary key
- Prefer
--initover--setup - Improved data rules
- Sync all schemas in search path by default
- Added support for socket connections
- Added support for environment variables
- Better support for schemas
- Added
--schemasoption - Added
--all-schemasoption - Added
--schema-firstoption - Fixed issue with non-lowercase tables and partial syncs
- Added Windows support
- Added
random_stringandrandom_numberreplacement options - Improved performance of
--in-batchesfor large tables
- Fixed non-lowercase tables and columns
- Fixed
--truncateoption with--in-batches
- Fixed
Table does not exist in sourceerror
- Support schemas other than public
- Added
--in-batchesmode for production transfers with--batch-sizeand--sleep
- Added
-doption as an alias for--db - Added support for wildcard tables
- Fixed
--schema-onlyerrors
- Prefer
{1}for interpolation - Added
--overwriteoption - Deprecated
--whereand--limit
- Added
-tor--tables,-gor--groupsoptions - Deprecated
tables,groups, andsetupcommands
- More powerful groups
- Overwrite rows by default when
WHEREclause (previously truncated) - Added
pgsync users "WHERE id = 1 - Added
pgsync group1, shorthand forpgsync groups group1 - Added
--schema-onlyoption - Added
--no-rulesoption - Added
--setupoption - Added
--truncateoption
- Added
--preserveoption - Added
--listoption for groups and tables - Added
--limitoption
- Fixed
no PostgreSQL user name specified in startup packet
- Added
--debugoption
- Do not require config file
- Fixed idle transaction timeout errors - respects
statement_timeoutas a result - Raise error when command exits with non-zero status
- Better support for multiple databases
- Search parent directories for config file
- First release