Skip to content

Releases: postgrespro/testgres

Adapt to PG14 and python-3.10

24 May 14:36
Compare
Choose a tag to compare

Adapt to PG 13

21 Oct 11:18
Compare
Choose a tag to compare

And revert cdc933f.

Adapt to PG 12

19 Nov 08:23
Compare
Choose a tag to compare
1.8.3

Bump version 1.8.3.

1.8.2

18 Jul 13:22
Compare
Choose a tag to compare

Small fix: PostgresNode.safe_psql() now raises error on wrong input (issue #52).

1.8.1

13 Jul 12:11
Compare
Choose a tag to compare

Small fix: make NodeBackup aware of inheritors of PostgresNode.

1.8.0

11 Jul 11:31
Compare
Choose a tag to compare
  • Add suppress option to PostgresNode.poll_query_until() (PR #51);
  • Add format option to PostgresNode.dump() (PR #32);
  • Add promote() method to PostgresNode (PR #47);
  • Add version property to PostgresNode (PR #49);
  • Add support for logical replication (PR #42);

1.7.0

11 Jul 11:17
Compare
Choose a tag to compare
  • Add wait option to PostgresNode.start() (PR #45);
  • PostgresNode.reload() now returns self;
  • Add support for replication slots (PR #41);

1.6.0

15 Mar 15:49
Compare
Choose a tag to compare
  • New dependency: psutil;

  • New properties:

    • child_processes - list of ProcessProxy objects representing PostgreSQL processes,
    • auxiliary_processes - subset of child_processes, represents auxiliary processes (e.g. autovacuum),
    • auxiliary_pids - dict of { ProcessType : PID } pairs,
    • source_walsender - available on replica: represents master's walsender;
  • New context manager scoped_config(): temporary change GlobalConfig;

  • Testgres is able to provide unique system ids for cached instances (see #35);

  • Temp dirs use tgs_ as prefix;

1.5.0

21 Feb 11:04
Compare
Choose a tag to compare
  • Improved pgbench API (see pgbench_run() etc);
  • Set allow_streaming=True in init() and default_conf() by default;
  • New option unix_sockets=True in init() and default_conf();
  • Fixed base_dir ignore if provided base_dir does not exist (#31);
  • StartNodeException now includes last N lines of postgresql.log;
  • Improved exception handling (using six.raise_from);
  • Auto name generation for PostgresNode (see generate_app_name);
  • Provide compatibility mode for execute(), psql(), safe_psql() and poll_query_until() methods (see positional_args_hack);

1.4.1

29 Nov 15:48
Compare
Choose a tag to compare

apply --auth-local and --auth-host params passed to initdb in PostgresNode.init();