History

5.0

01 Jan 2019

Switch to pkgutil namespace technique for the jaraco namespace.

4.3

28 Dec 2018

#6: Avoid use of deperecated yield_fixture.

4.2

28 Nov 2018

Refresh package metadata.

4.1

03 Apr 2018

Added PostgresDatabase.ensure_user, which will not fail if the user already exists. In PostgresServer.create, use ensure_user to allow multiple databases to be created using the same user.

4.0

02 Apr 2018

PostgresDatabase no longer uses ‘pmxtest’ as the default user, but instead the username defaults to the database name.

3.0.1

30 Mar 2018

#2: When searching heuristic paths, sort parsed version numbers numerically so that 10 is greater than 9.

3.0

17 Oct 2017

Removed global variables and behavior on import:

  • root
  • INITDB
  • PG_CTL
  • PSQL
  • POSTGRES

Instead, use PostgresFinder.find_root().

2.0.1

17 Oct 2017

#1: Fix version detection on Postgres 10.0.

2.0

19 Sep 2017

PostgresServer now creates all databases with a default locale of en_US.UTF-8. Now, databases will be Unicode-capable by default. To restore the original behavior, deferring to the system locale, pass locale=None to initdb.

1.6

26 Jul 2016

Add .create convenience method to PostgresServer.

1.5

21 Jun 2016

Project is now released automatically through Travis Continuous Integration.

Add Trove classifier for Pytest Framework.

1.4

26 Dec 2015

Moved hosting to Github and updated skeleton.

1.3

07 Dec 2015

Add postgresql_instance fixture.

1.2

05 Nov 2015

Added some logging info to initdb, start, stop.

Substantial improvements for test suite.

1.1

17 Jun 2015

Allow the POSTGRESQL_HOME environment variable to stipulate where the Postgres binaries must be found, overriding heuristic search.

1.0

05 May 2015

Initial release, using models from yg.test 4.1.