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

[CBRD-24909] dblink related synonym processing #4513

Merged
merged 7 commits into from
Aug 4, 2023

Conversation

beyondykk9
Copy link
Contributor

@beyondykk9 beyondykk9 commented Jul 26, 2023

http://jira.cubrid.org/browse/CBRD-24909

The current system checks the user set in the synonym target when creating or altering a synonym. However, if the target is the dblink table of a remote server, user check cannot be performed. In this case, the user check must be replaced with the current user, and the target Also, the text entered by the user who created it must be reflected as it is.

CREATE SYNONYM rms1 for user_a.tbl1@srv1;
CREATE SYNONYM rms2 for tbl2@srv1;
ALTER SYNONYM rms1 for user_b.tbl1@srv1;
ALTER SYNONYM rms2 for tbl2@srv2;

The above DDL should be executed successfully.

@beyondykk9 beyondykk9 added this to the fig milestone Jul 26, 2023
@beyondykk9 beyondykk9 self-assigned this Jul 26, 2023
src/parser/parse_tree.h Outdated Show resolved Hide resolved
src/parser/csql_grammar.y Outdated Show resolved Hide resolved
src/parser/csql_grammar.y Outdated Show resolved Hide resolved
src/parser/csql_grammar.y Outdated Show resolved Hide resolved
@beyondykk9 beyondykk9 merged commit ab2e482 into CUBRID:develop Aug 4, 2023
4 checks passed
@beyondykk9 beyondykk9 deleted the CBRD-24909 branch August 4, 2023 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants