Skip to content

fix: strict qualification - #84

Draft
AndrewJackson2020 wants to merge 5 commits into
mainfrom
strict_qualification
Draft

AndrewJackson2020 wants to merge 5 commits into
mainfrom
strict_qualification

Conversation

@AndrewJackson2020

@AndrewJackson2020 AndrewJackson2020 commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

This PR uses the latest development head of plpgsql_check to test out the strict schema qualification of referenced objects in functions. For demonstration purposes I have set it to mode 4 meaning every function, type, and operator must be schema qualified. There is some degradation in readability but the increase in security is may be worth it.

Interestingly TIL not all functions have schemas. coalesce for example. I believe that these are being flagged as false positives. I need to follow up with the maintainers if that is in fact that case.

@AndrewJackson2020

Copy link
Copy Markdown
Contributor Author

Tests are fine, macOS CI is going to fail until the below PR gets merged.

#85

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