-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
Function returning table from non search_path
schema
#455
Comments
To narrow the problem. I believe we should collect array of entities used in exposed functions ( That way we won't be in need to proxy each and every piece of hidden schemas to the exposed schema. |
yes, you're exactly right with the solution One way would be to add a CTE under this to collect any tables or views referenced by functions on the It might not actually require an update to the rust source but TBD |
search_path
schema
Describe the bug
Seems a function returning a table from another schema is not exposed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect fully-typed return values to be exposed based on permissions and regardless of
search_path
.Versions:
The text was updated successfully, but these errors were encountered: