Skip to content

fix: enforce iso datestyle#715

Merged
Andersson007 merged 6 commits intoansible-collections:mainfrom
jbisabel:edb_oracle
Jul 1, 2024
Merged

fix: enforce iso datestyle#715
Andersson007 merged 6 commits intoansible-collections:mainfrom
jbisabel:edb_oracle

Conversation

@jbisabel
Copy link
Contributor

SUMMARY

Fixes #711 by enforcing iso datestyle on the connection. This is only an issue when using psycopg3 in combination with datestyles that it doesn't support. Going by the docs, psycopg2 already does this when encountering a datestyle it doesn't recognize

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

postgres.py

@hunleyd
Copy link
Collaborator

hunleyd commented Jun 27, 2024

LGTM. The CI failures are unrelated

Copy link
Collaborator

@hunleyd hunleyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a changelog fragment

@jbisabel
Copy link
Contributor Author

Changelog fragment added

@jbisabel jbisabel requested a review from hunleyd June 28, 2024 08:58
@hunleyd hunleyd requested a review from Andersson007 June 28, 2024 12:14
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Copy link
Collaborator

@Andersson007 Andersson007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hunleyd I'm off since now. If tests are green, please merge, thanks for reviewing!
@jbisabel thanks for the contribution!

@Andersson007 Andersson007 merged commit 292a6f2 into ansible-collections:main Jul 1, 2024
@Andersson007
Copy link
Collaborator

as they are green, merging myself, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Info, user, ... modules fail when datestyle = 'redwood,show_time' is set in postgresql.conf

3 participants