提交 53e6320d authored 作者: Thomas Mueller's avatar Thomas Mueller

Improved PostgreSQL compatibility for NEXTVAL and CURRVAL.

上级 b626783b
create schema test;
create sequence test.report_id_seq;
select nextval('"test".REPORT_ID_SEQ');
> 1;
select nextval('"test"."report_id_seq"');
> 2;
select nextval('test.report_id_seq');
> 3;
drop schema test;
create table master(id int primary key); create table master(id int primary key);
create table detail(id int primary key, x bigint, foreign key(x) references master(id) on delete cascade); create table detail(id int primary key, x bigint, foreign key(x) references master(id) on delete cascade);
alter table detail alter column x bigint; alter table detail alter column x bigint;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论