- Packaging refresh.
#7: Allow encoding
parameter to initdb
.
Package now uses PEP 420 for namespace package.
Switch to pkgutil namespace technique
for the jaraco
namespace.
#6: Avoid use of deperecated yield_fixture
.
Refresh package metadata.
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.
PostgresDatabase no longer uses 'pmxtest' as the default user, but instead the username defaults to the database name.
#2: When searching heuristic paths, sort parsed version numbers numerically so that 10 is greater than 9.
Removed global variables and behavior on import:
- root
- INITDB
- PG_CTL
- PSQL
- POSTGRES
Instead, use PostgresFinder.find_root()
.
#1: Fix version detection on Postgres 10.0.
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
.
Add .create
convenience method to PostgresServer.
Project is now released automatically through Travis Continuous Integration.
Add Trove classifier for Pytest Framework.
Moved hosting to Github and updated skeleton.
Add postgresql_instance
fixture.
Added some logging info to initdb, start, stop.
Substantial improvements for test suite.
Allow the POSTGRESQL_HOME environment variable to stipulate where the Postgres binaries must be found, overriding heuristic search.
Initial release, using models from yg.test 4.1.