提交 f88757ed authored 作者: Thomas Mueller's avatar Thomas Mueller

Aliases for built-in data types can now be re-mapped.

上级 334374e6
......@@ -5,21 +5,17 @@ create domain integer as varchar;
create domain int as varchar;
> ok
create domain bit as int;
> ok
create table test(id bit);
create memory table test(id int);
> ok
script nodata nopasswords nosettings;
> SCRIPT
> --------------------------------------------------
> -- 0 = SELECT COUNT(*) FROM PUBLIC.TEST;
> CREATE CACHED TABLE PUBLIC.TEST( ID VARCHAR );
> CREATE DOMAIN BIT AS VARCHAR;
> CREATE DOMAIN INT AS VARCHAR;
> CREATE MEMORY TABLE PUBLIC.TEST( ID VARCHAR );
> CREATE USER IF NOT EXISTS SA PASSWORD '' ADMIN;
> rows: 5
> rows: 4
drop table test;
> ok
......@@ -27,9 +23,6 @@ drop table test;
drop domain int;
> ok
drop domain bit;
> ok
create table test(id identity, parent bigint, foreign key(parent) references(id));
> ok
......
......@@ -5,21 +5,17 @@ create domain integer as varchar;
create domain int as varchar;
> ok
create domain bit as int;
> ok
create table test(id bit);
create memory table test(id int);
> ok
script nodata nopasswords nosettings;
> SCRIPT
> --------------------------------------------------
> -- 0 = SELECT COUNT(*) FROM PUBLIC.TEST;
> CREATE CACHED TABLE PUBLIC.TEST( ID VARCHAR );
> CREATE DOMAIN BIT AS VARCHAR;
> CREATE DOMAIN INT AS VARCHAR;
> CREATE MEMORY TABLE PUBLIC.TEST( ID VARCHAR );
> CREATE USER IF NOT EXISTS SA PASSWORD '' ADMIN;
> rows: 5
> rows: 4
drop table test;
> ok
......@@ -27,9 +23,6 @@ drop table test;
drop domain int;
> ok
drop domain bit;
> ok
create table test(id identity, parent bigint, foreign key(parent) references(id));
> ok
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论