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

Add new OID alias type regrole #13

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Add new OID alias type regrole #13

merged 1 commit into from
Nov 14, 2024

Conversation

reshke
Copy link
Contributor

@reshke reshke commented Nov 14, 2024

The new type has the scope of whole the database cluster so it doesn't behave the same as the existing OID alias types which have database scope,
concerning object dependency. To avoid confusion constants of the new type are prohibited from appearing where dependencies are made involving it.

Also, add a note to the docs about possible MVCC violation and optimization issues, which are general over the all reg* types.

Kyotaro Horiguchi

-- OPENGPDB additions.

I have omitted catalog changes provides within this commit for ABI compat sake. This is not disallows use of them. One, if need, could use them with help of extension.

Kirill Reshke

Here are some reminders before you submit the pull request

  • Add tests for the change
  • Document changes
  • Communicate in the mailing list if needed
  • Pass make installcheck
  • Review a PR in return to support the community

The new type has the scope of whole the database cluster so it doesn't
behave the same as the existing OID alias types which have database
scope,
concerning object dependency. To avoid confusion constants of the new
type are prohibited from appearing where dependencies are made involving
it.

Also, add a note to the docs about possible MVCC violation and
optimization issues, which are general over the all reg* types.

Kyotaro Horiguchi

-- OPENGPDB additions.

I have omitted catalog changes provides within this commit for ABI compat sake.
This is not disallows use of them. One, if need, could use them with help of
extension.

Kirill Reshke
@reshke reshke merged commit f02738d into OPENGPDB_STABLE Nov 14, 2024
1 of 2 checks passed
reshke added a commit that referenced this pull request Nov 14, 2024
The new type has the scope of whole the database cluster so it doesn't
behave the same as the existing OID alias types which have database
scope,
concerning object dependency. To avoid confusion constants of the new
type are prohibited from appearing where dependencies are made involving
it.

Also, add a note to the docs about possible MVCC violation and
optimization issues, which are general over the all reg* types.

Kyotaro Horiguchi

-- OPENGPDB additions.

I have omitted catalog changes provides within this commit for ABI compat sake.
This is not disallows use of them. One, if need, could use them with help of
extension.

Kirill Reshke

Co-authored-by: Andrew Dunstan <[email protected]>
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