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

Remove pltsql_call_handler from sys.all_objects #2260

Merged

Conversation

2jungkook
Copy link
Contributor

We have fixed duplicate OIDs for most objects, however, pltsql_call_handler still has a possibility of duplicate OIDs after MVU to PG14/15/16 because GetNewObjectId_hook() is not called when we restore the first C function.

This commit removes pltsql_call_handler from sys.all_objects, hence sys.all_objects won't have duplicate OIDs after major version upgrades.

(This is a cherry-pick from ef84a49 except upgrade scripts and dev/github actions.)

Task: BABEL-4662
Signed-off-by: Jungkook Lee [email protected]

We have fixed duplicate OIDs for most objects, however, `pltsql_call_handler`
still has a possibility of duplicate OIDs after MVU to PG14/15/16
because `GetNewObjectId_hook()` is not called when we restore the
first C function.

This commit removes pltsql_call_handler from sys.all_objects, hence
sys.all_objects won't have duplicate OIDs after major version
upgrades.

Task: BABEL-4662
Signed-off-by: Jungkook Lee <[email protected]>
@2jungkook 2jungkook merged commit 783f3db into babelfish-for-postgresql:BABEL_2_X_DEV Jan 18, 2024
23 checks passed
@2jungkook 2jungkook deleted the babel-4662-2x branch January 18, 2024 00:30
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.

2 participants