Skip to content
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

ProgrammingError caused by _pgh_attach_context from create_event when using denormalized context #115

Open
benjamin-kicker-cloud opened this issue Mar 20, 2024 · 0 comments

Comments

@benjamin-kicker-cloud
Copy link

benjamin-kicker-cloud commented Mar 20, 2024

When using a denormalized context, the create_event function results in ProgrammingError: column "pgh_context" is of type jsonb but expression is of type uuid. The _pgh_attach_context procedure returns _pgh_context_id (the uuid of the context) instead of the context data itself).

Django==4.2.10
django-pgtrigger==4.11.0
django-pghistory==3.1.0
psycopg==3.1.18

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

No branches or pull requests

1 participant