Skip to content

Implement needs_fmgr_hook#3779

Closed
tanscorpio7 wants to merge 3 commits intobabelfish-for-postgresql:BABEL_5_X_DEVfrom
tanscorpio7:babel
Closed

Implement needs_fmgr_hook#3779
tanscorpio7 wants to merge 3 commits intobabelfish-for-postgresql:BABEL_5_X_DEVfrom
tanscorpio7:babel

Conversation

@tanscorpio7
Copy link
Copy Markdown
Contributor

Description

Implement needs_fmgr_hook to force fmgr_security_definer
for all routines. We need to force it since we change sql_dialect
before and after every function execution based on their lang.

Without this fix we are not chaning the sql_dialect for
inlinable functions and running into unexpected erros.

Issues Resolved

#3071

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@tanscorpio7 tanscorpio7 closed this Jun 9, 2025
@tanscorpio7 tanscorpio7 reopened this Jun 22, 2025
Signed-off-by: Tanzeel Khan <tzlkhan@amazon.com>
Signed-off-by: Tanzeel Khan <tzlkhan@amazon.com>
Signed-off-by: Tanzeel Khan <tzlkhan@amazon.com>
@tanscorpio7 tanscorpio7 closed this Nov 1, 2025
@tanscorpio7 tanscorpio7 deleted the babel branch December 25, 2025 12:59
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