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 (#2201) #2206

Conversation

2jungkook
Copy link
Contributor

@2jungkook 2jungkook commented Jan 3, 2024

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 .github/scripts/clone_engine_repo.conf)

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

2jungkook and others added 2 commits January 3, 2024 18:30
…esql#2201)

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
Co-authored-by: Jungkook Lee <[email protected]>
@2jungkook 2jungkook merged commit 4b46768 into babelfish-for-postgresql:BABEL_4_0_STABLE Jan 3, 2024
28 checks passed
@2jungkook 2jungkook deleted the babel-4662-40 branch January 3, 2024 19:55
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