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

Adjust the method of loading the external preloaded shared libraries #155

Closed

Conversation

MisterRaindrop
Copy link
Contributor

closes: #ISSUE_Number


Change logs

Add a new mechanism to pre-load dynamic libraries during database startup. Controlled library inclusion through header files.

External lib is preloaded. Need to write to theprocess_shared_preload_libraries.h header file. This loads the external lib through the header file.

If it has some breaking backward or forward compatibility, please clary.

Why are the changes needed?

Describe why the changes are necessary.

Does this PR introduce any user-facing change?

If yes, please clarify the previous behavior and the change this PR proposes.

How was this patch tested?

Please detail how the changes were tested, including manual tests and any relevant unit or integration tests.

Contributor's Checklist

Here are some reminders and checklists before/when submitting your pull request, please check them:

  • Make sure your Pull Request has a clear title and commit message. You can take git-commit template as a reference.
  • Sign the Contributor License Agreement as prompted for your first-time contribution.
  • List your communication in the GitHub Issues or Discussions (if has or needed).
  • Document changes.
  • Add tests for the change
  • Pass make installcheck
  • Pass make -C src/test installcheck-cbdb-parallel
  • Feel free to @cloudberrydb/dev team for review and approval when your PR is ready🥳

External lib is preloaded. Need to write to theprocess_shared_preload_libraries.h header file. This loads the external lib through the header file.
@CLAassistant
Copy link

CLAassistant commented Aug 17, 2023

CLA assistant check
All committers have signed the CLA.

@MisterRaindrop MisterRaindrop marked this pull request as draft August 21, 2023 01:43
@MisterRaindrop MisterRaindrop marked this pull request as ready for review August 21, 2023 01:44
my-ship-it
my-ship-it previously approved these changes Aug 21, 2023
@yjhjstz
Copy link
Collaborator

yjhjstz commented Aug 21, 2023

src/include/utils/process_shared_preload_libraries.h is empty ?

@MisterRaindrop
Copy link
Contributor Author

This one is expand on the new features. Load the dynamic library through the header file.
Currently is empty.

Extended String. To load the dynamic library is deduplicate
@tuhaihe
Copy link
Member

tuhaihe commented Aug 29, 2023

Hi @MisterRaindrop: Thanks for your contribution! Please use "rebase" instead of "merge" for your commits to stay up to date with the main branch.

For a good commit title and message body, please follow our commit conventions, which can make our history easy to read.

Additionally, please remember to squash your commits down to one. Thank you!

src/backend/nodes/list.c Outdated Show resolved Hide resolved
@tuhaihe
Copy link
Member

tuhaihe commented Oct 30, 2023

Since PR #242 has been merged, could we close this PR? @MisterRaindrop

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.

None yet

5 participants