-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
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
Regression in postgresql_info for 3.10.0 #794
Comments
+1. |
+1 I was using the |
Hello, thanks for reporting the issue! |
Reproduced and added your original code #796, also added a test task that tests it with |
The community.postgresql collection version 3.10.1 has been released, just update it using ansible-galaxy, thanks everyone! |
@Andersson007, what about case when do not use For example, get from docs:
|
@realwhite great point, thanks |
@Andersson007 as far as I know, default behavior for Postgres connections is to connect to the database called the same as username, so not necessarily |
@Andersson007 from documentation for initdb:
but in the documentation for libpq (
But, don't think it's necessary to enter a parameter like Actually, except for the case that @kacperk solved, it doesn't seem to make any difference which database to reconnect to. There are several options to consider:
Or use all of this methods together, by priority:
|
@kacperk @realwhite thanks for your feedback! |
many of our customers remove this database so 3rd party tools don't create objects outside the normal review process. if you want a db that is going to be there for sure, i'd use |
The community.postgresql collection version 3.10.2 has been released. Thanks everyone! |
SUMMARY
A task using
postgresql_info
gatheringin_recovery
, stopped working in 3.10.0 collection.ISSUE TYPE
COMPONENT NAME
postgresql_info
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
EL9 (almalinux)
STEPS TO REPRODUCE
EXPECTED RESULTS
It just works, like in 3.9.0
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: