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

Avoid ERROR: relation "_role_table_grants" already exists #20

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

oraculix
Copy link

Resolves #17 by issuing a create or replace to work around the error, when the temp view already exists.

This is cleaner and faster than the "create or replace" approach.
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.

Temporary view _role_table_grants not dropping after function call
1 participant