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

Use non-prepared statement for revision range query #496

Merged
merged 2 commits into from
Mar 22, 2022

Conversation

samkim
Copy link
Member

@samkim samkim commented Mar 22, 2022

Fixes: #486

Bypass pgx auto preparing statement for revision range query.

See simulation of fix:
https://dbfiddle.uk/?rdbms=postgres_14&fiddle=89e011079eed10aa76e798005be4bf73

@github-actions github-actions bot added the area/datastore Affects the storage system label Mar 22, 2022
@jakedt jakedt enabled auto-merge March 22, 2022 22:22
@jakedt jakedt merged commit e297689 into authzed:main Mar 22, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/datastore Affects the storage system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Critically slow permissions check with Postgres datastore
2 participants