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

fix proc_prototype behavior with invalid oid #12

Merged
merged 1 commit into from
Feb 15, 2025
Merged

Conversation

rjuju
Copy link
Owner

@rjuju rjuju commented Feb 15, 2025

If a procedure is optional, it will usually be represented as 0 / InvalidOid. In that case trying to cast it to regproc will fail so check for it and explicitly reutnr a NULL instead.

If a procedure is optional, it will usually be represented as 0 / InvalidOid.
In that case trying to cast it to regproc will fail so check for it and
explicitly reutnr a NULL instead.
@rjuju rjuju self-assigned this Feb 15, 2025
@rjuju rjuju added the bug Something isn't working label Feb 15, 2025
@rjuju rjuju merged commit f79c1e8 into master Feb 15, 2025
1 check passed
@rjuju rjuju deleted the fix_invalid_proc branch February 15, 2025 08:02
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

Successfully merging this pull request may close these issues.

1 participant