mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-16 02:02:56 +00:00
* WIP: pg_catalog * refactor: move memory_table to crate public level to reuse it in pgcatalog * refactor: new system_schema mod to manage implementation of information_schema and pg_catalog * feat: pg_catalog.pg_type * fix: remove unused code to avoid warning * test: add pg_catalog sqlness test * feat: pg_catalog_cache in system_catalog * fix: integration test * test: rollback unit test * refactor: mix pg_catalog table_id with old ones * fix: add todo information * tests: rerun sqlness --------- Co-authored-by: johnsonlee <johnsonlee@localhost.localdomain>
29 lines
594 B
Plaintext
29 lines
594 B
Plaintext
create database '㊙️database';
|
||
|
||
Error: 1002(Unexpected), Unexpected, violated: Invalid database name: ㊙️database
|
||
|
||
create database illegal-database;
|
||
|
||
Error: 1001(Unsupported), SQL statement is not supported: create database illegal-database;, keyword: -
|
||
|
||
create database 'illegal-database';
|
||
|
||
Affected Rows: 1
|
||
|
||
show databases;
|
||
|
||
+--------------------+
|
||
| Database |
|
||
+--------------------+
|
||
| greptime_private |
|
||
| illegal-database |
|
||
| information_schema |
|
||
| pg_catalog |
|
||
| public |
|
||
+--------------------+
|
||
|
||
drop database 'illegal-database';
|
||
|
||
Affected Rows: 0
|
||
|