add concat_ws function compatibility test case

This commit is contained in:
sqyyeah
2020-08-24 19:35:23 +08:00
parent 00045b7941
commit 702c054715
2 changed files with 20 additions and 2 deletions

View File

@ -28,4 +28,18 @@ select ''::int;
ERROR: invalid input syntax for integer: ""
LINE 1: select ''::int;
^
CONTEXT: referenced column: int4
CONTEXT: referenced column: int4
select concat_ws('','ABCDE', 2, null, 22);
concat_ws
-----------
ABCDE222
(1 row)
select concat_ws(null,'ABCDE', 2, null, 22);
concat_ws
-----------
(1 row)

View File

@ -13,4 +13,8 @@ select concat(null,'','','') is null;
select concat('','') is null;
select ''::int;
select ''::int;
select concat_ws('','ABCDE', 2, null, 22);
select concat_ws(null,'ABCDE', 2, null, 22);