fix: input function does not allow tailing spaces (#148)

This commit is contained in:
yihong
2023-06-09 10:51:20 +08:00
committed by GitHub
parent 13cf29088d
commit 41c68bf692
3 changed files with 37 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
SELECT '[1,2,3]'::vector;
SELECT '[-1,2,3]'::vector;
SELECT ' [ 1, 2 , 3 ] '::vector(3);
SELECT '[1.23456]'::vector;
SELECT '[hello,1]'::vector;
SELECT '[NaN,1]'::vector;