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

fix: Fix notifiation authorization check on pg13- #234

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Conversation

rjuju
Copy link
Member

@rjuju rjuju commented Nov 21, 2024

Postgres 13 or lower don't have predefined roles, so we call unnest on an empty python array which is emitted as '{}'. This is ambiguous for postgres so we need to explicitly cast the value as an array of text, which works for both an empty array and a non empty array (which is emitted as ARRAY[...]).

Postgres 13 or lower don't have predefined roles, so we call unnest on an empty
python array which is emitted as '{}'.  This is ambiguous for postgres so we
need to explicitly cast the value as an array of text, which works for both an
empty array and a non empty array (which is emitted as ARRAY[...]).
@rjuju rjuju merged commit f1cbdb9 into master Nov 21, 2024
2 checks passed
@rjuju rjuju deleted the fix_unnest branch November 21, 2024 23:50
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