Files
greptimedb/tests/cases/standalone/common/create/create_database.result
JohnsonLee 072d7c2022 feat: introduce 'pg_catalog.pg_type' (#4332)
* 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>
2024-07-15 17:41:08 +00:00

29 lines
594 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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