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

Security definer bugs #12

Open
yazun opened this issue May 29, 2024 · 0 comments
Open

Security definer bugs #12

yazun opened this issue May 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@yazun
Copy link
Collaborator

yazun commented May 29, 2024

If an immutable fn is used from other role, problems arise, this is regression versus ver2.2 and XL:

SELECT sourceid 
FROM timeseriesresult
WHERE runid=62 and catalogid=getmaincatalog() and ftimeseriestype = gettsresulttypeid(62,'RemoveOutlierPerTransitOperator_G_CCD') 
limit 10

ERROR:  permission denied to set session authorization

if any of the fn involved has SECURITY DEFNER on.

@yazun yazun added the bug Something isn't working label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants