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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dispatch session state #106

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

weishaolun
Copy link

@weishaolun weishaolun commented Jul 31, 2023


Change logs

  • Add a mechanism to allow for extra data to be dispatched, whether in the kernel or in a extension.
  • Add xact stack walk/mutate and cid set functions.

Why are the changes needed?

To allow dispatch session state and set up the session state in a extension.

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馃コ

@CLAassistant
Copy link

CLAassistant commented Jul 31, 2023

CLA assistant check
All committers have signed the CLA.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hiiii, @weishaolun welcome!馃帄 Thanks for taking the effort to make our project better! 馃檶 Keep making such awesome contributions!

@tuhaihe
Copy link
Member

tuhaihe commented Aug 1, 2023

Hi @weishaolun thanks for your contribution! BTW, welcome to amend your commit message following our commit message conventions, eg: the commit title should be under 50 words max.

@weishaolun weishaolun force-pushed the support_dispatch_session_state branch 2 times, most recently from 1c9ce9c to 21e8af0 Compare August 1, 2023 08:53
@weishaolun weishaolun force-pushed the support_dispatch_session_state branch from 21e8af0 to 808446d Compare November 3, 2023 08:29
@tuhaihe
Copy link
Member

tuhaihe commented Nov 9, 2023

Hi @weishaolun Thanks for your contribution. Please use "rebase" instead of "merge" for your commits to stay up to date with the main branch. Could you clear your commit history before your PR is merged?

@weishaolun weishaolun force-pushed the support_dispatch_session_state branch from d7446d4 to 808446d Compare November 9, 2023 08:07
Extending the query dispatch mechanism, allowing extra data to be dispatched.
To dispatch extra data, you just need to register an extra dispatch with a
unique name and a  pair of functions for generating and parsing the data to
be dispatched.
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

4 participants