Releases: postgrespro/testgres
Releases · postgrespro/testgres
1.7.0
1.6.0
-
New dependency:
psutil; -
New properties:
child_processes- list ofProcessProxyobjects representing PostgreSQL processes,auxiliary_processes- subset ofchild_processes, represents auxiliary processes (e.g.autovacuum),auxiliary_pids- dict of{ ProcessType : PID }pairs,source_walsender- available on replica: represents master'swalsender;
-
New context manager
scoped_config(): temporary changeGlobalConfig; -
Testgres is able to provide unique system ids for cached instances (see #35);
-
Temp dirs use
tgs_as prefix;
1.5.0
- Improved
pgbenchAPI (seepgbench_run()etc); - Set
allow_streaming=Trueininit()anddefault_conf()by default; - New option
unix_sockets=Trueininit()anddefault_conf(); - Fixed
base_dirignore if providedbase_dirdoes not exist (#31); StartNodeExceptionnow includes last N lines ofpostgresql.log;- Improved exception handling (using
six.raise_from); - Auto name generation for
PostgresNode(seegenerate_app_name); - Provide compatibility mode for
execute(),psql(),safe_psql()andpoll_query_until()methods (seepositional_args_hack);
1.4.1
apply --auth-local and --auth-host params passed to initdb in PostgresNode.init();
1.4.0
- use
max_attempts=0(infinite) by default inpoll_query_until(); - fix support for utf-8 (non-ascii symbols);
- improved error handling;
- don't install
enum34on python 3.4+.
1.3.4
use commit=True by default in PostgresNode.execute()
1.3.3
- fix
get_control_data(); - fix default params of
default_conf(); - remove everything on
cleanup()by default; - remove cached initdb dir by default;
1.3.2
- bugfix: pass
allow_streamingtodefault_conf(); - allow using
PG_BINenv instead ofPG_CONFIG;
1.3.1
- introduced
TestgresConfig; - add
log_statement='all'parameter todefault_conf();
1.3.0
- introduced
default_conf(); - don't remove
base_dirif it was provided by user;