Skip to content

Fix automatic hstore extension creation not working on Django 4.2 or newer #245

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

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

Photonios
Copy link
Member

@Photonios Photonios commented Jun 18, 2024

The following change broke the auto setup:
django/django@d3e746a

This breaks because the call to pscygop2.extras.register_hstore is now
conditional. Before, it would be called multiple times with
empty OIDS, when eventually our auto registration would kick
in and psycopg2 would fetch the OIDs itself.

@Photonios Photonios force-pushed the fix-hstore-registration branch from 0cd410d to 377f0b9 Compare June 18, 2024 10:30
…newer

The following change broke the auto setup:
django/django@d3e746a

This breaks because the call to `pscygop2.extras.register_hstore` is now
conditional. Before, it would be called multiple times with
empty OIDS, when eventually our auto registration would kick
in and psycopg2 would fetch the OIDs itself.
@Photonios Photonios force-pushed the fix-hstore-registration branch from 377f0b9 to a810a7a Compare June 18, 2024 10:38
@Photonios Photonios merged commit 13b5672 into master Jun 18, 2024
1 check passed
@Photonios Photonios deleted the fix-hstore-registration branch June 18, 2024 11:26
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.

1 participant