Skip to content

Security definer bugs #12

@yazun

Description

@yazun

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions