forked from huawei/openGauss-server
Fix regression!
This commit is contained in:
parent
19e683e297
commit
d9572b06eb
|
|
@ -922,14 +922,18 @@ drop table float8range_test;
|
|||
--
|
||||
create domain mydomain as int4;
|
||||
create type mydomainrange as range(subtype=mydomain);
|
||||
ERROR: type "mydomain" does not exist
|
||||
select '[4,50)'::mydomainrange @> 7::mydomain;
|
||||
ERROR: type "mydomainrange" does not exist
|
||||
LINE 1: select '[4,50)'::mydomainrange @> 7::mydomain;
|
||||
^
|
||||
?column?
|
||||
----------
|
||||
t
|
||||
(1 row)
|
||||
|
||||
drop domain mydomain; -- fail
|
||||
ERROR: cannot drop type mydomain because other objects depend on it
|
||||
DETAIL: type mydomainrange depends on type mydomain
|
||||
HINT: Use DROP ... CASCADE to drop the dependent objects too.
|
||||
drop domain mydomain cascade;
|
||||
ERROR: type "mydomain" does not exist
|
||||
NOTICE: drop cascades to type mydomainrange
|
||||
--
|
||||
-- Test domains over range types
|
||||
--
|
||||
|
|
|
|||
Loading…
Reference in New Issue