-
Notifications
You must be signed in to change notification settings - Fork 92
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
postgresql_db fails with Postgres 17rc1 #729
Comments
@cameronmurdoch hello, thanks for reporting the issue! Sure, go ahead, thanks!
thanks! |
Thanks @Andersson007 I have some working code, but there are two issues here.
I started on 1. but ended up sliding into doing 2. :-) So I think I will initially submit a PR to just fix 1. which looks to be a fairly trivial change. 2. should be a separate issue I think. |
@cameronmurdoch sounds like a plan, thanks |
SUMMARY
Due to pg_catalog changes in the forthcoming pg17 release, postgresql_db throws an exception on all runs other than the first.
ISSUE TYPE
COMPONENT NAME
postgresql_db
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Fedora 40
Nothing really changed from standard
STEPS TO REPRODUCE
Creating a database with postgresql_db module works as expected, but on all subsequent runs of the play we hit an exception.
EXPECTED RESULTS
That the playbook completes with no changes
ACTUAL RESULTS
This is because the pg_database column daticulocale has been renamed to datlocale, I think as part of the work to add a builtin collation provider and get_db_info() chokes on this.
I would be interested in helping to fix this and can hopefully submit a PR quite soon.
The text was updated successfully, but these errors were encountered: