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

With PostgreSQL 10 improve admin privileges performance. #59

Open
mtbc opened this issue Aug 28, 2020 · 0 comments
Open

With PostgreSQL 10 improve admin privileges performance. #59

mtbc opened this issue Aug 28, 2020 · 0 comments

Comments

@mtbc
Copy link
Member

mtbc commented Aug 28, 2020

#54 failed and it isn't worth digging into the history as with PostgreSQL 10 we can instead do,

sql_action.old_privileges_select=SELECT DISTINCT transaction FROM _current_admin_privileges WHERE txid_status(transaction) IS NULL OR txid_status(transaction) != 'in progress'
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