GitHub / postgrespro / testgres
Testing framework for PostgreSQL and its extensions
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postgrespro%2Ftestgres
PURL: pkg:github/postgrespro/testgres
Stars: 150
Forks: 37
Open issues: 11
License: other
Language: Python
Size: 1.08 MB
Dependencies parsed at: Pending
Created at: about 9 years ago
Updated at: 5 days ago
Pushed at: 5 days ago
Last synced at: 5 days ago
Commit Stats
Commits: 503
Authors: 36
Mean commits per author: 13.97
Development Distribution Score: 0.557
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/postgrespro/testgres
Topics: pathman, postgres, postgresql, replication, testgres, testing
1.6.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;
Download
1.5.0
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);
Download