We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to change the database name, and other configuration apart from the port?
I am trying to do this:
Postgresql = testing.postgresql.PostgresqlFactory( cache_initialized_db=True, on_initialized=handler, port=settings.DB_SETTINGS['port'], database=settings.DB_SETTINGS['name'], user=settings.DB_SETTINGS['user'], host=settings.DB_SETTINGS['host'] )
When in the handler method, when running
print(postgresql.dsn())
I receive the default configuration, not the parameters I passed in.
The text was updated successfully, but these errors were encountered:
From postgresql.py:
testing.postgresql/src/testing/postgresql.py
Lines 57 to 65 in c81ded4
Seems like dsn() only returns those default params, since you did not put any in as parameters.
Sorry, something went wrong.
No branches or pull requests
Is it possible to change the database name, and other configuration apart from the port?
I am trying to do this:
When in the handler method, when running
I receive the default configuration, not the parameters I passed in.
The text was updated successfully, but these errors were encountered: