Testgres

Latest version: v1.10.5

Safety actively analyzes 710664 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

1.10.4

🚀 Key Improvements

- **Better Port Management**: Improved handling of port numbers to reduce conflicts and errors. [165](https://github.com/postgrespro/testgres/pull/165) dmitry-lipetsk
- **More Reliable Error Handling**:
- `RemoteOperations::exec_command` no longer raises exceptions when `expect_error=True`. [160] (https://github.com/postgrespro/testgres/pull/160) dmitry-lipetsk
- Fix for Windows: Improved error handling and port management. [172](https://github.com/postgrespro/testgres/pull/172) dmitry-lipetsk

🔧 Bug Fixes & Enhancements

- **Database Connection Fix**: `PSQL` now explicitly passes the database name using `-d <dbname>`. [168](https://github.com/postgrespro/testgres/pull/168) dmitry-lipetsk
- **SSH Command Fix**: Corrected SSH command execution in `RemoteOperations::execute`. [169](https://github.com/postgrespro/testgres/pull/169) dmitry-lipetsk
- **Remote Operations Updates**:
- Added new methods: `read_binary`, `get_file_size`. [170](https://github.com/postgrespro/testgres/pull/170) dmitry-lipetsk
- **File Operations Enhancements**:
- `OsOps::read` methods now correctly handle text mode. [171](https://github.com/postgrespro/testgres/pull/171)
- `OsOps::read_binary` now supports offsets. [173](https://github.com/postgrespro/testgres/pull/173) dmitry-lipetsk
- **Backup Testing Support**: Added `check backup-source` to help test `pg_probackup3`. [176](https://github.com/postgrespro/testgres/pull/176) egarbuz

🛠 Refactoring & Code Cleanup

- **Refactored Node Management**:
- `PostgresNode::start` refactored for better reliability. [174](https://github.com/postgrespro/testgres/pull/174) dmitry-lipetsk
- `Node.start` improved. [167](https://github.com/postgrespro/testgres/pull/167) dmitry-lipetsk
- `PortManager::find_free_port` updated for efficiency. [178](https://github.com/postgrespro/testgres/pull/178) dmitry-lipetsk
- **Command Execution Improvements**:
- `LocalOperations::_run_command` refactored. [158](https://github.com/postgrespro/testgres/pull/158) dmitry-lipetsk
- `NodeApp::make_simple` now uses `tempfile.gettempdir`. [157](https://github.com/postgrespro/testgres/pull/157) dmitry-lipetsk

🎉 New Contributors
- dmitry-lipetsk made their first contribution! 🎉 [157](https://github.com/postgrespro/testgres/pull/157)

📌 **Full Changelog**: [1.10.3 → 1.10.4](https://github.com/postgrespro/testgres/compare/1.10.3...1.10.4)

1.10.3

What's Changed
* Fix test test_child_pids for PostgreSql 15 and higher by demonolock in https://github.com/postgrespro/testgres/pull/146
* Add PG_PROBACKUP_WAL_TREE_ENABLED env param by dura0ok in https://github.com/postgrespro/testgres/pull/143
* Fix typos by kianmeng in https://github.com/postgrespro/testgres/pull/152
* Refinement of the run function in app.py by MakSl in https://github.com/postgrespro/testgres/pull/148
* Fix broken pipe from gdb after killing process by MetalDream666 in https://github.com/postgrespro/testgres/pull/151

New Contributors
* kianmeng made their first contribution in https://github.com/postgrespro/testgres/pull/152

**Full Changelog**: https://github.com/postgrespro/testgres/compare/1.10.2...1.10.3

1.10.2

What's Changed
* Add an SSH port parameter by asavchkov in https://github.com/postgrespro/testgres/pull/131
* Pass a DB port to NodeApp by asavchkov in https://github.com/postgrespro/testgres/pull/132
* Make use of the default SSH user by asavchkov in https://github.com/postgrespro/testgres/pull/133
* Fix node cleanup by demonolock in https://github.com/postgrespro/testgres/pull/135
* Update log level TRACE insted of VERBOSE by egarbuz in https://github.com/postgrespro/testgres/pull/138
* Fix logger by demonolock in https://github.com/postgrespro/testgres/pull/140
* Add force node stopping using SIGKILL by demonolock in https://github.com/postgrespro/testgres/pull/139
* fix locale warning by dura0ok in https://github.com/postgrespro/testgres/pull/141

New Contributors
* dura0ok made their first contribution in https://github.com/postgrespro/testgres/pull/141

**Full Changelog**: https://github.com/postgrespro/testgres/compare/1.10.1...1.10.2

1.10.1

What's Changed
* Adding port and database name into params list for add-instance command by egarbuz in https://github.com/postgrespro/testgres/pull/118
* Fix error 'Is another postmaster already running on port XXX' in node by MetalDream666 in https://github.com/postgrespro/testgres/pull/120
* Value pg_probackup major_version added to the class Init by egarbuz in https://github.com/postgrespro/testgres/pull/119
* Add options to command pg_basebackup by demonolock in https://github.com/postgrespro/testgres/pull/121
* Add pgbench_with_wait function by demonolock in https://github.com/postgrespro/testgres/pull/122
* Add options to pg_upgrade by fabriziomello in https://github.com/postgrespro/testgres/pull/125
* Added command execution time measurement in pg_probackup run by MakSl in https://github.com/postgrespro/testgres/pull/123
* Add parsing backup_id in run app.py by demonolock in https://github.com/postgrespro/testgres/pull/126

New Contributors
* egarbuz made their first contribution in https://github.com/postgrespro/testgres/pull/118
* fabriziomello made their first contribution in https://github.com/postgrespro/testgres/pull/125
* MakSl made their first contribution in https://github.com/postgrespro/testgres/pull/123

**Full Changelog**: https://github.com/postgrespro/testgres/compare/1.10.0...1.10.1

1.10.0

What's Changed
* Add pg_upgrade option by demonolock ([97](https://github.com/postgrespro/testgres/pull/97))
This function allows upgrade PostgreSQL versions.
* Remove unnecessary output by homper ([88](https://github.com/postgrespro/testgres/pull/88))
* Fix get_pg_version for Linux Mint by demonolock ([101](https://github.com/postgrespro/testgres/pull/101))
* Set default test locale to en by Ogurezzz ([107](https://github.com/postgrespro/testgres/pull/107))
This change aims to standardize test outputs.
* Fix Error during executing query by z-kasymalieva ([110](https://github.com/postgrespro/testgres/pull/110))
Resolved an issue related to executing queries within the framework, particularly when executing commands that do not produce row output, which previously resulted in errors.
* Run the archive command through exec by asavchkov ([113](https://github.com/postgrespro/testgres/pull/113))
If the PostgreSQL archive command is run through the dash shell the shell produces a core dump upon receiving a SIGQUIT during the PostgreSQL server shutdown. This change replaces the dash process with pg_probackup to avoid the production of a core dump.

New Contributors
* homper made their first contribution in https://github.com/postgrespro/testgres/pull/88
* z-kasymalieva made their first contribution in https://github.com/postgrespro/testgres/pull/105
* Ogurezzz made their first contribution in https://github.com/postgrespro/testgres/pull/107

**Full Changelog**: https://github.com/postgrespro/testgres/compare/1.9.3...1.10.0

1.9.3

- Fixed a problem on MacOS with command --version
- Fixed problems on Windows

Page 1 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.