Skip to content

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

Merged
Photonios merged 1 commit into
masterfrom
fix-hstore-registration
Jun 18, 2024
Merged

Photonios merged 1 commit into
masterfrom
fix-hstore-registration

Conversation

@Photonios

@Photonios Photonios commented Jun 18, 2024 •

Copy link
Copy Markdown
Contributor

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
@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