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

支持 PG DDL 语句若干,MySQL 支持 create/alter database ... collate 语句 #6276

Merged
merged 11 commits into from
Dec 9, 2024

Conversation

zycgit
Copy link
Contributor

@zycgit zycgit commented Dec 6, 2024

  1. 支持 PG create schema ... create table 连体写法。
  2. 修复 PG insert ... with ... select 被分解为两条语句的问题。
  3. 支持 PG create database ... owner
  4. 支持 PG create database ... template
  5. 支持 PG alter database ... allow_connections
  6. 支持 PG alter database ... is_template
  7. 支持 pg drop database ... force
  8. 支持 pg drop schema 多名称.
  9. 支持 MySQL alter schema abc default collate utf8mb4_unicode_ci; 语句
  10. 支持 MySQL create database abc collate utf8mb4_unicode_ci; 语句

2. 修复 PG insert ... with ... select 被分解为两条语句的问题。
2. 支持 PG create database ... template
3. 支持 PG alter database ... allow_connections
4. 支持 PG alter database ... is_template
2. 移除 guava 依赖。
@wenshao wenshao requested a review from lingo-xp December 6, 2024 09:47
@wenshao
Copy link
Member

wenshao commented Dec 6, 2024

参考 com.alibaba.druid.bvt.sql.postgresql.PGResourceTest 来补充单测

@zycgit zycgit changed the title 支持 PG DDL 语句若干 支持 PG DDL 语句若干,MySQL 支持 create/alter database ... collate 语句 Dec 9, 2024
2. 支持 MySQL alter schema abc default collate utf8mb4_unicode_ci; 语句
3. 支持 MySQL create database abc collate utf8mb4_unicode_ci; 语句
@lingo-xp
Copy link
Collaborator

lingo-xp commented Dec 9, 2024

LGTM

@wenshao wenshao merged commit d5c8936 into alibaba:master Dec 9, 2024
5 checks passed
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