Skip to content

Conversation

@zhangwenchao-123
Copy link
Contributor

fix #ISSUE_Number


Change logs

Describe your change clearly, including what problem is being solved or what feature is being added.

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(One-time setup).
  • Learn the coding contribution guide, including our code conventions, workflow and more.
  • 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 request cloudberrydb/dev team for review and approval when your PR is ready🥳

@zhangwenchao-123 zhangwenchao-123 marked this pull request as draft May 22, 2024 08:14
@zhangwenchao-123 zhangwenchao-123 marked this pull request as ready for review June 5, 2024 06:13
@zhangwenchao-123 zhangwenchao-123 marked this pull request as draft June 5, 2024 06:13
@zhangwenchao-123 zhangwenchao-123 marked this pull request as ready for review June 11, 2024 08:51
@zhangwenchao-123 zhangwenchao-123 changed the title Tag Implementation of Tag. Jun 11, 2024
@lss602726449 lss602726449 self-requested a review July 2, 2024 08:24
We implement tag in this commit. Tag can be attached to target database
object, which maybe database, user, schema, table etc. Tag has allowed
values, when we attach one tag to target object, we should specify this
tag's value which must be in allowed values array, otherwise will error
out.

To use it, we will illustrate some example as following:
CREATE TAG tag_example allowed_values '123', 'abc';
CREATE USER tag_user;
ALTER USER tag_user TAG (tag_example = '123');
ALTER TAG tag_example ADD ALLOWED_VALUES 'def';
ALTER TAG tag_example DROP ALLOWED_VALUES 'abc';

Authored-by: Zhang Wenchao [email protected]
As there are three ao/aocs tables in the prevent_ao_wal isolation2 test, the
expected results of wal are not stable after VACUUM. We fix this by truncate
unrelated table in lockmodes test.

Authored-by: Zhang Wenchao [email protected]
@my-ship-it my-ship-it merged commit d1103ed into apache:main Jul 23, 2024
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.

3 participants